Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10644

TestSecureExportSnapshot#testExportFileSystemState fails on hadoop-1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.96.2, 0.98.1, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      From https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/180/testReport/junit/org.apache.hadoop.hbase.snapshot/TestSecureExportSnapshot/testExportFileSystemState/ :

      java.lang.NullPointerException	at org.apache.hadoop.security.SecurityUtil.setTokenService(SecurityUtil.java:335)
      	at org.apache.hadoop.hdfs.DFSClient.getDelegationToken(DFSClient.java:480)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.getDelegationToken(DistributedFileSystem.java:601)
      	at org.apache.hadoop.hbase.security.token.FsDelegationToken.acquireDelegationToken(FsDelegationToken.java:71)
      	at org.apache.hadoop.hbase.snapshot.ExportSnapshot.runCopyJob(ExportSnapshot.java:587)
      	at org.apache.hadoop.hbase.snapshot.ExportSnapshot.run(ExportSnapshot.java:708)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
      	at org.apache.hadoop.hbase.snapshot.ExportSnapshot.innerMain(ExportSnapshot.java:760)
      	at org.apache.hadoop.hbase.snapshot.TestExportSnapshot.testExportFileSystemState(TestExportSnapshot.java:268)
      	at org.apache.hadoop.hbase.snapshot.TestExportSnapshot.testExportFileSystemState(TestExportSnapshot.java:247)
      	at org.apache.hadoop.hbase.snapshot.TestExportSnapshot.testExportFileSystemState(TestExportSnapshot.java:177)
      

      This was due to hadoop 1 release we use doesn't have HADOOP-10009

        Attachments

        1. 10644-v1.txt
          1.0 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                yuzhihong@gmail.com Ted Yu
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: