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

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

Dave Marion created ACCUMULO-837:
------------------------------------

             Summary: 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

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

Posted by "Josh Elser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490063#comment-13490063 ] 

Josh Elser commented on ACCUMULO-837:
-------------------------------------

It's also worth noting that CDH artifacts have ZooKeeper under the group org.apache.zookeeper instead of org.apache.hadoop as it currently in trunk's pom.xmls.
                
> 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

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

Posted by "Billie Rinaldi (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Dave Marion (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486418#comment-13486418 ] 

Dave Marion commented on ACCUMULO-837:
--------------------------------------

Good to know that we would have to recompile if/when we upgrade. Is this something that should go in a README as a known issue or something?
                
> 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

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

Posted by "Josh Elser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser updated ACCUMULO-837:
--------------------------------

    Attachment: adding-cloudera-repository.diff
                PomChanges.diff

Adding required changes to trunk and local maven configuration to get around this issue in case it's useful for others.
                
> 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
>         Attachments: adding-cloudera-repository.diff, PomChanges.diff
>
>
> 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