Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: security, test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fixed JobTracker to use it's own credentials instead of the job's credentials for accessing mapred.system.dir. Also added APIs in the JobTracker to get the FileSystem objects as per the JobTracker's configuration.

      Description

      While running TestMiniMRWithDFSWithDistinctUsers, I used this patch to test the ugi checks

      Index: src/hdfs/org/apache/hadoop/hdfs/server/namenode/PermissionChecker.java
      ===================================================================
      --- src/hdfs/org/apache/hadoop/hdfs/server/namenode/PermissionChecker.java	(revision 768189)
      +++ src/hdfs/org/apache/hadoop/hdfs/server/namenode/PermissionChecker.java	(working copy)
      @@ -40,6 +40,7 @@
           if (LOG.isDebugEnabled()) {
             LOG.debug("ugi=" + ugi);
           }
      +    LOG.info("ugi=" + ugi);
       
           if (ugi != null) {
             user = ugi.getUserName();
      

      While initializing a job, the ugi information should point to jobtracker as jobtracker does a dfs read. But today we will see that the log shows pi as the caller instead of the jobtracker.

        Attachments

        1. HADOOP-5737-v1.3.patch
          4 kB
          Amar Kamat
        2. HADOOP-5737-v1.5.patch
          10 kB
          Amar Kamat
        3. HADOOP-5737-v1.7.patch
          19 kB
          Amar Kamat
        4. HADOOP-5737-y20.patch
          10 kB
          Hemanth Yamijala

          Issue Links

            Activity

              People

              • Assignee:
                amar_kamat Amar Kamat
                Reporter:
                amar_kamat Amar Kamat
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: