java.io.IOException: Failed to get cluster ID

Google Groups | Frank Luo | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    CopyTable fails on copying between two secured clusters

    Google Groups | 8 months ago | Frank Luo
    java.io.IOException: Failed to get cluster ID

    Root Cause Analysis

    1. java.io.IOException

      Failed to get cluster ID

      at org.apache.hadoop.hbase.security.token.TokenUtil.getAuthToken()
    2. HBase - Client
      TokenUtil.addTokenForJob
      1. org.apache.hadoop.hbase.security.token.TokenUtil.getAuthToken(TokenUtil.java:365)
      2. org.apache.hadoop.hbase.security.token.TokenUtil.addTokenForJob(TokenUtil.java:327)
      2 frames
    3. HBase
      CopyTable.run
      1. org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initCredentials(TableMapReduceUtil.java:451)
      2. org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableReducerJob(TableMapReduceUtil.java:658)
      3. org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableReducerJob(TableMapReduceUtil.java:591)
      4. org.apache.hadoop.hbase.mapreduce.CopyTable.createSubmittableJob(CopyTable.java:168)
      5. org.apache.hadoop.hbase.mapreduce.CopyTable.run(CopyTable.java:348)
      5 frames
    4. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      2. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      2 frames
    5. HBase
      CopyTable.main
      1. org.apache.hadoop.hbase.mapreduce.CopyTable.main(CopyTable.java:341)
      1 frame
    6. com.merkleinc.cr
      CopyTableTest.testCopyTable
      1. com.merkleinc.cr.hbase_maintenance.tableexport.CopyTableTest.export(CopyTableTest.java:44)
      2. com.merkleinc.cr.hbase_maintenance.tableexport.CopyTableTest.testCopyTable(CopyTableTest.java:25)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. JUnit
      InvokeMethod.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      4 frames
    9. IntelliJ junit4 module
      JUnit4TestRunnerUtil$IgnoreIgnoredTestJUnit4ClassRunner.runChild
      1. com.intellij.junit4.JUnit4TestRunnerUtil$IgnoreIgnoredTestJUnit4ClassRunner.runChild(JUnit4TestRunnerUtil.java:349)
      1 frame
    10. JUnit
      JUnitCore.run
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      2. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      3. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      4. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      5. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      6. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      7. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      8. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      8 frames
    11. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    12. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames