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

Vrushali C commented on YARN-7028:
----------------------------------

I am thinking the timeline reader at 
hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd  class path should be set to 
include the hbase class path so that guava11 would come in first. 

> Timeline reader guava issue
> ---------------------------
>
>                 Key: YARN-7028
>                 URL: https://issues.apache.org/jira/browse/YARN-7028
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Vrushali C
>              Labels: yarn-5355-merge-blocker
>             Fix For: YARN-5355
>
>
> [~agresch] pinged me about a guava incompatibility issue today. cc [~jlowe]
>  He ran into this issue with timeline reader while testing from YARN-5355 . 
> The timeline reader from YARN-5355_branch2 did not have this. 
> The guava version in YARN_5355_branch2 is guava 11. Guava 11 is also the 
> hbase-compatible-guava-version. Hadoop trunk (or YARN-5355) added guava 21 as 
> part of HADOOP-10101. The guava version to compile hadoop with was made 
> configurable in HADOOP-14380
> The HBase guava client side fix was made in HBASE-14963. Will be good to have 
> a new stable hbase release for this fix.
> {code}
> 2017-08-16 15:32:09,488 ERROR [qtp743778731-22] 
> reader.TimelineReaderWebServices: Error while processing REST request
> org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.IllegalAccessError: 
> tried to access method com.google.common.base.Stopwatch.<init>()V from class 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator
> Caused by: java.lang.IllegalAccessError: tried to access method 
> com.google.common.base.Stopwatch.<init>()V from class 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator
>     at 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:604)
>     at 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:588)
>     at 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:561)
>     at 
> org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation(ZooKeeperRegistry.java:61)
>     at 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(ConnectionManager.java:1211)
>     at 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1178)
>     at 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1152)
>     at 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1357)
>     at 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1181)
>     at 
> org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:305)
>     at 
> org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:156)
>     at 
> org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60)
>     at 
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:210)
>     ... 66 more
> {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