Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1382

CubeMigrationCLI reports error when migrate cube

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: v1.4.0
    • Fix Version/s: v1.4.0
    • Component/s: Client - CLI
    • Labels:
      None

      Description

      With 2.0-rc code, when migrate a cube, it reports error:

      2016-01-29 00:20:34,451 INFO  [main CubeMigrationCLI:282]: Operation index :14
      2016-01-29 00:20:34,451 INFO  [main CubeMigrationCLI:303]: Executing operation: COPY_ACL:5c658fb6-e2cf-470d-af35-2b88b80ec694, fb366d08-d084-4b3e-84f3-d9a3c64e7031, project,
      2016-01-29 00:20:34,535 ERROR [main CubeMigrationCLI:286]: error met
      java.lang.IllegalArgumentException: to use hbase storage, pls set 'kylin.storage.url=hbase' in kylin.properties
      	at org.apache.kylin.storage.hbase.HBaseConnection.newHBaseConfiguration(HBaseConnection.java:88)
      	at org.apache.kylin.storage.hbase.HBaseConnection.get(HBaseConnection.java:130)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.doOpt(CubeMigrationCLI.java:425)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.doOpts(CubeMigrationCLI.java:283)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:142)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:150)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.main(CubeMigrationCLI.java:91)
      2016-01-29 00:20:34,536 INFO  [main CubeMigrationCLI:287]: Try undoing previous changes
      2016-01-29 00:20:34,536 INFO  [main CubeMigrationCLI:467]: Undo operation: COPY_ACL:5c658fb6-e2cf-470d-af35-2b88b80ec694, fb366d08-d084-4b3e-84f3-d9a3c64e7031, Tracking,
      2016-01-29 00:20:34,568 ERROR [main CubeMigrationCLI:293]: error met
      java.lang.IllegalArgumentException: to use hbase storage, pls set 'kylin.storage.url=hbase' in kylin.properties
      	at org.apache.kylin.storage.hbase.HBaseConnection.newHBaseConfiguration(HBaseConnection.java:88)
      	at org.apache.kylin.storage.hbase.HBaseConnection.get(HBaseConnection.java:130)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.doOpt(CubeMigrationCLI.java:425)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.doOpts(CubeMigrationCLI.java:283)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:142)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.moveCube(CubeMigrationCLI.java:150)
      	at org.apache.kylin.storage.hbase.util.CubeMigrationCLI.main(CubeMigrationCLI.java:91)
      2016-01-29 00:20:34,568 INFO  [main CubeMigrationCLI:294]: Continue undoing...
      

        Attachments

          Activity

            People

            • Assignee:
              shaofengshi Shao Feng Shi
              Reporter:
              shaofengshi Shao Feng Shi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment