XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • hdfs-client
    • None

    Description

      When libhdfs++ gets a permissions error, it is failing to initialize errnum.

      Due to changes passing in the night, the code in hdfs.cc that reads

          case Status::Code::kPermissionDenied:
            if (!stat.ToString().empty())
              ReportError(EACCES, stat.ToString().c_str());
            else
              ReportError(EACCES, "Permission denied");
            break;
      

      should read

          case Status::Code::kPermissionDenied:
            errnum = EACCES;
            default_message = "Permission denied";
            break;
      

      Attachments

        1. HDFS-9792.HDFS-8707.000.patch
          0.9 kB
          Bob Hansen
        2. HDFS-9792.HDFS-8707.000.patch
          0.9 kB
          Bob Hansen

        Activity

          People

            bobhansen Bob Hansen
            bobhansen Bob Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: