You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Colin Ma (JIRA)" <ji...@apache.org> on 2018/09/29 09:16:00 UTC

[jira] [Created] (KYLIN-3604) Can't build cube with spark in HBase standalone mode

Colin Ma created KYLIN-3604:
-------------------------------

             Summary: Can't build cube with spark in HBase standalone mode
                 Key: KYLIN-3604
                 URL: https://issues.apache.org/jira/browse/KYLIN-3604
             Project: Kylin
          Issue Type: Bug
          Components: Storage - HBase
    Affects Versions: v2.5.0
            Reporter: Colin Ma


With Hbase standalone mode, Cube can't be built on step 8 Convert Cuboid Data to HFile, the following is the related exception:


 18/09/29 11:13:21 INFO steps.SparkCubeHFile: Input path: hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/test_spark_cube/cuboid/

18/09/29 11:13:21 INFO steps.SparkCubeHFile: Output path: hdfs://nameservice3/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/test_spark_cube/hfile

18/09/29 11:13:21 INFO steps.SparkCubeHFile: Loading HBase configuration from:hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/hbase-conf.xml

18/09/29 11:13:21 ERROR yarn.ApplicationMaster: User class threw exception: java.lang.RuntimeException: error execute org.apache.kylin.storage.hbase.steps.SparkCubeHFile. Root cause: Wrong FS: hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/hbase-conf.xml, expected: hdfs://nameservice3 java.lang.RuntimeException: error execute org.apache.kylin.storage.hbase.steps.SparkCubeHFile. Root cause: Wrong FS: hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/hbase-conf.xml, expected: hdfs://nameservice3 at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:42) at org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:637) Caused by: java.lang.IllegalArgumentException: Wrong FS: hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/hbase-conf.xml, expected: hdfs://nameservice3 at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645) at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:193) at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:105) at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:302) at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:298) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:298) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:766) at org.apache.kylin.storage.hbase.steps.SparkCubeHFile.execute(SparkCubeHFile.java:183) at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37) ... 6 more 18/09/29 11:13:21 INFO yarn.ApplicationMaster: Final app status: FAILED, exitCode: 15, (reason: User class threw exception: java.lang.RuntimeException: error execute org.apache.kylin.storage.hbase.steps.SparkCubeHFile. Root cause: Wrong FS: hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/hbase-conf.xml, expected: hdfs://nameservice3) 18/09/29 11:13:21 INFO spark.SparkContext: Invoking stop() from shutdown hook 18/09/29 11:13:21 INFO server.ServerConnector: Stopped Spark@1785d078

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)