You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2012/10/29 16:10:12 UTC

[jira] [Commented] (ACCUMULO-837) NetUtils.getInputStream() yeilds NoSuchMethodError

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

Billie Rinaldi commented on ACCUMULO-837:
-----------------------------------------

I think the method we're using exists in all relevant versions of hadoop, but since it isn't part of hadoop's public API it doesn't have binary compatibility.  It should work if accumulo is recompiled against the version of hadoop in CDH3U4.
                
> NetUtils.getInputStream() yeilds NoSuchMethodError
> --------------------------------------------------
>
>                 Key: ACCUMULO-837
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-837
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: cdh3u4
>            Reporter: Dave Marion
>
> Ran into the following error while testing ACCUMULO-708 with CDH3U4. A quick Google search yielded HBASE-6396 which states that HADOOP-8350 changed the method signature.
> {noformat}
> 2012-10-28 16:54:00,759 [master.Master] ERROR: Error balancing tablets
> java.lang.NoSuchMethodError: org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;J)Ljava/io/InputStream;
>         at org.apache.accumulo.core.util.TTimeoutTransport.create(TTimeoutTransport.java:39)
>         at org.apache.accumulo.core.client.impl.ThriftTransportPool.createNewTransport(ThriftTransportPool.java:473)
>         at org.apache.accumulo.core.client.impl.ThriftTransportPool.getTransport(ThriftTransportPool.java:464)
>         at org.apache.accumulo.core.client.impl.ThriftTransportPool.getTransport(ThriftTransportPool.java:441)
>         at org.apache.accumulo.core.client.impl.ThriftTransportPool.getTransportWithDefaultTimeout(ThriftTransportPool.java:366)
>         at org.apache.accumulo.core.util.ThriftUtil.getClient(ThriftUtil.java:88)
>         at org.apache.accumulo.server.master.LiveTServerSet$TServerConnection.getTableMap(LiveTServerSet.java:101)
>         at org.apache.accumulo.server.master.Master.gatherTableInformation(Master.java:2051)
>         at org.apache.accumulo.server.master.Master.access$2900(Master.java:185)
>         at org.apache.accumulo.server.master.Master$StatusThread.updateStatus(Master.java:1979)
>         at org.apache.accumulo.server.master.Master$StatusThread.run(Master.java:1969)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira