Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12615 Router-based HDFS federation phase 2
  3. HDFS-13311

RBF: TestRouterAdminCLI#testCreateInvalidEntry fails on Windows

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • None
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • None

    Description

      The Windows runs show that TestRouterAdminCLI#testCreateInvalidEntry fail with NPE:

      [ERROR] testCreateInvalidEntry(org.apache.hadoop.hdfs.server.federation.router.TestRouterAdminCLI)  Time elapsed: 0.008 s  <<< ERROR!
      java.lang.NullPointerException
              at org.apache.hadoop.util.GenericOptionsParser.preProcessForWindows(GenericOptionsParser.java:529)
              at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:568)
              at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:174)
              at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:156)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
              at org.apache.hadoop.hdfs.server.federation.router.TestRouterAdminCLI.testCreateInvalidEntry(TestRouterAdminCLI.java:444)
      

      Attachments

        1. HDFS-13311.000.patch
          0.8 kB
          Íñigo Goiri

        Issue Links

          Activity

            People

              elgoiri Íñigo Goiri
              elgoiri Íñigo Goiri
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: