Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3855

TestSubmitJob should use FileSystem instead of private HDFS classes.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.24.0
    • Fix Version/s: None
    • Component/s: mrv1, test
    • Labels:
      None

      Description

      TestSubmitJob uses ClientNamenodeProtocolTranslatorPB which is marked InterfaceAudience.Private. This causes build failures in mapreduce when HDFS changes internal/private classes. Test should be changed to use FileSystem.

        Issue Links

          Activity

          Hide
          Aaron T. Myers added a comment -

          Ah, sorry. Didn't know about this issue. Thanks for resolving this one, Uma.

          Show
          Aaron T. Myers added a comment - Ah, sorry. Didn't know about this issue. Thanks for resolving this one, Uma.
          Hide
          Uma Maheswara Rao G added a comment -

          I just verified MAPREDUCE-3974, that will fix this issue.
          Thanks Aaron for the patch, marking this as duplicate.

          Show
          Uma Maheswara Rao G added a comment - I just verified MAPREDUCE-3974 , that will fix this issue. Thanks Aaron for the patch, marking this as duplicate.
          Hide
          Uma Maheswara Rao G added a comment -

          Hi Suresh,
          I will take a look. As part of HDFS-2928, i may need to support non retry-able proxy inside ClientNamenodeProtocolTranslatorPB. As it is private, i was planning to pass the flag for retry in constructor. That may break this test. Thanks for noticing it.

          Show
          Uma Maheswara Rao G added a comment - Hi Suresh, I will take a look. As part of HDFS-2928 , i may need to support non retry-able proxy inside ClientNamenodeProtocolTranslatorPB. As it is private, i was planning to pass the flag for retry in constructor. That may break this test. Thanks for noticing it.

            People

            • Assignee:
              Uma Maheswara Rao G
              Reporter:
              Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development