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

Vrushali C commented on YARN-7188:
----------------------------------

The coprocessor jar was earlier picked up from the classpath since  it was a 
statically loaded coprocessor which was enabled for all tables. Hence we had 
special defensive checks in the coprocessor to ensure it works on flow run 
table only. Had the jar not been in the classpath, we would have likely had the 
same error during schema creation as well as during region server restart. 

As part of YARN-6094, we have updated the coprocessor to be a dynamically 
loaded, table level one. The documentation changes have also been made.


> 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