[ 
https://issues.apache.org/jira/browse/YARN-7188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164439#comment-16164439
 ] 

Rohith Sharma K S commented on YARN-7188:
-----------------------------------------

It fails because while creating a table it except file location to be present 
in hdfs location. 
{noformat}
2017-09-13 15:21:39,051 INFO  [main] flow.FlowRunTable: 
CoprocessorJarPath=/hbase/coprocessor/hadoop-yarn-server-timelineservice.jar
2017-09-13 15:21:39,083 WARN  [main] storage.TimelineSchemaCreator: Skip and 
continue on: 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
{noformat}

I remember it used to work in lower versions of hbase without failing table 
creation. May be some modifications from HBase causing this issue! cc:/ 
[~vrushalic] [~varun_saxena]


> TimelineSchemaCreator fails to create flowrun table
> ---------------------------------------------------
>
>                 Key: YARN-7188
>                 URL: https://issues.apache.org/jira/browse/YARN-7188
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>
> In hbase-1.2.6 which is by default, TimelineSchemaCreator fails to create 
> flow run table. 
> {noformat}
> 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
> {noformat}
> This is because coprocessor jar is always expected to be there always in hdfs 
> location. By default it is configured to 
> {code}
>   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";
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to