[ https://issues.apache.org/jira/browse/KYLIN-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647506#comment-16647506 ]
Shaofeng SHI commented on KYLIN-3604: ------------------------------------- Colin, good catch; The patch doesn't have author info, could you please make a patch with "git format-patch", or raise a PR? Thanks. > 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 > Assignee: Colin Ma > Priority: Blocker > Fix For: v2.5.1 > > Attachments: KYLIN-3604.001.patch > > > 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: > {color:#d04437}hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/test_spark_cube/cuboid/{color} > 18/09/29 11:13:21 INFO steps.SparkCubeHFile: Output path: > {color:#14892c}hdfs://nameservice3/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/test_spark_cube/hfile{color} > 18/09/29 11:13:21 INFO steps.SparkCubeHFile: Loading HBase configuration > {color:#d04437}from:hdfs://nameservice1/kylin/kylin_metadata/kylin-b65c0e62-69e9-bb11-9d7d-e6e5abc7ef8e/hbase-conf.xml{color} > 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)