Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
In hbase-1.2.6 which is by default, TimelineSchemaCreator fails to create flow run table.
2017-09-13 15:15:54,934 ERROR storage.TimelineSchemaCreator: Error in creating hbase tables: org.apache.hadoop.hbase.DoNotRetryIOException: org.apache.hadoop.hbase.DoNotRetryIOException: File does not exist: /hbase/coprocessor/hadoop-yarn-server-timelineservice.jar Set hbase.table.sanity.checks to false at conf or table descriptor if you want to bypass sanity checks at org.apache.hadoop.hbase.master.HMaster.warnOrThrowExceptionForFailure(HMaster.java:1754) at org.apache.hadoop.hbase.master.HMaster.sanityCheckTableDescriptor(HMaster.java:1615) at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1541) Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.DoNotRetryIOException): org.apache.hadoop.hbase.DoNotRetryIOException: File does not exist: /hbase/coprocessor/hadoop-yarn-server-timelineservice.jar Set hbase.table.sanity.checks to false at
This is because coprocessor jar is always expected to be there always in hdfs location. By default it is configured to
public static final String FLOW_RUN_COPROCESSOR_JAR_HDFS_LOCATION = TIMELINE_SERVICE_PREFIX + "hbase.coprocessor.jar.hdfs.location"; /** default hdfs location for flowrun coprocessor jar. */ public static final String DEFAULT_HDFS_LOCATION_FLOW_RUN_COPROCESSOR_JAR = "/hbase/coprocessor/hadoop-yarn-server-timelineservice.jar";