hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: 0.95 Error in Connecting
Date Tue, 10 Sep 2013 19:11:02 GMT
On Mon, Sep 9, 2013 at 6:19 PM, David Williams <dwilliams@truecar.com>wrote:

>
> Hi all,
>
> I am working on a api demo that talks to hbase.  Today I upgraded to 0.95
> to get access to the hbase-client 0.95 libraries.
>


0.95 poms have not had the cleanup that is in the 0.96.0RC pom.  You should
use the latter.  See this note for location of staging repositories:
http://search-hadoop.com/m/7W1PfyzHy51



>  I unpacked the 0.95 binaries on my system, and started hbase.  I logged
> into Hbase shell, and checked status etc.  Then I added the client libs a
> hadoop 1.2.1 and hbase 0.95 to my pom.xml and ran a unit test which checks
> if I can read and write a simple test value to a table, which I created
> before hand.  The output is a stack trace and some timeouts.  The ip
> addresses correspond to my machine on the local network.  It then repeats
> this on the command line. What should I try next?  My goal is to simply
> programmatically read and write to a local hbase on Mac OS X running in
> pseudo distributed mode.
>
>
>
Here is a pom I made testing downstreamers' experience.  It may be of help
(the versions, etc., may have changed since -- be warned):

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.hbase.downstreamer</groupId>
  <artifactId>hbase-downstreamer</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>hbase-downstreamer</name>
  <url>https://github.com/saintstack/hbase-downstreamer</url>
  <properties>
    <hbase.version>0.95.2-hadoop1-SNAPSHOT</hbase.version>
    <hadoop.version>1.1.2</hadoop.version>
  </properties>
  <dependencies>
    <!--START OF TEST SCOPE-->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
    </dependency>
    <!--hbase-hadoop-compat comes in transtively but we need the test-jar
        to and this does not come in transitively.  Ditto for the
        hbase-hadoopX-compat.
     -->
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-hadoop-compat</artifactId>
      <version>${hbase.version}</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-hadoop1-compat</artifactId>
      <version>${hbase.version}</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <!--This has the actual HBaseTestingUtility in it.
      -->
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-server</artifactId>
      <version>${hbase.version}</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <!--hbase-server test has dependency on this test jar.
        Seemingly in maven, test scoped objects are not
        transitively included, at least that is how I
        read the table in the maven oreilly book and up on
        the stonatype site on transitive includes where above
        is a direct include (with test scope) and below is
        a test scope
      -->
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-common</artifactId>
      <version>${hbase.version}</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <!--We need hadoop test jar.  It has minidfs in it.
      It is not transitively included.
      -->
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-test</artifactId>
      <version>${hadoop.version}</version>
      <scope>test</scope>
    </dependency>
    <!--We need this class for hbase servers at test time.
      -->
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-server</artifactId>
      <type>jar</type>
      <version>${hbase.version}</version>
      <scope>test</scope>
    </dependency>
    <!--END OF TEST SCOPE-->

    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-client</artifactId>
      <version>${hbase.version}</version>
    </dependency>
  </dependencies>
</project>





> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running com.example.hbase.HConnectionTest
> 13/09/09 18:06:32 INFO annotation.ClassPathBeanDefinitionScanner: JSR-330
> 'javax.inject.Named' annotation found and supported for component scanning
> 13/09/09 18:06:32 INFO annotation.AnnotationConfigApplicationContext:
> Refreshing
> org.springframework.context.annotation.AnnotationConfigApplicationContext@4b40de18:
> startup date [Mon Sep 09 18:06:32 PDT 2013]; root of context hierarchy
> 13/09/09 18:06:32 INFO annotation.ClassPathBeanDefinitionScanner: JSR-330
> 'javax.inject.Named' annotation found and supported for component scanning
> 13/09/09 18:06:32 INFO annotation.ClassPathBeanDefinitionScanner: JSR-330
> 'javax.inject.Named' annotation found and supported for component scanning
> 13/09/09 18:06:32 INFO annotation.AnnotationConfigApplicationContext:
> Refreshing
> org.springframework.context.annotation.AnnotationConfigApplicationContext@27c549b9:
> startup date [Mon Sep 09 18:06:32 PDT 2013]; root of context hierarchy
> 13/09/09 18:06:32 INFO annotation.ClassPathBeanDefinitionScanner: JSR-330
> 'javax.inject.Named' annotation found and supported for component scanning
> 13/09/09 18:06:32 INFO annotation.AutowiredAnnotationBeanPostProcessor:
> JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
> 13/09/09 18:06:32 INFO support.DefaultListableBeanFactory:
> Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@594f8a87:
> defining beans
> [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,config,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,properties,hTablePool,appHealthCheck,healthCheck,validate,jsonProvider,submit,hConnection,jaxRsServer,cxf,hadoopConfiguration,jaxRsApiApplication,decode];
> root of factory hierarchy
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client environment:host.name
> =10.14.49.129
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.version=1.7.0_25
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.vendor=Oracle Corporation
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.class.path=/Users/dwilliams/IdeaProjects/vinapi/target/test-classes:/Users/dwilliams/IdeaProjects/vinapi/target/classes:/Users/dwilliams/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/Users/dwilliams/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/dwilliams/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/2.7.2/cxf-rt-frontend-jaxrs-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-api/2.7.2/cxf-api-2.7.2.jar:/Users/dwilliams/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.1.4/woodstox-core-asl-4.1.4.jar:/Users/dwilliams/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar:/Users/dwilliams/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.0.3/xmlschema-core-2.0.3.jar:/Users/dwilliams/.m2/repository/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar:/Users/dwilliams/.m2/repository/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-core/2.7.2/cxf-rt-core-2.7.2.jar:/Users/dwilliams/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.6/jaxb-impl-2.2.6.jar:/Users/dwilliams/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0-m10/javax.ws.rs-api-2.0-m10.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-bindings-xml/2.7.2/cxf-rt-bindings-xml-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.7.2/cxf-rt-transports-http-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxws/2.7.2/cxf-rt-frontend-jaxws-2.7.2.jar:/Users/dwilliams/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar:/Users/dwilliams/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-bindings-soap/2.7.2/cxf-rt-bindings-soap-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-databinding-jaxb/2.7.2/cxf-rt-databinding-jaxb-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-frontend-simple/2.7.2/cxf-rt-frontend-simple-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-ws-addr/2.7.2/cxf-rt-ws-addr-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/cxf/cxf-rt-ws-policy/2.7.2/cxf-rt-ws-policy-2.7.2.jar:/Users/dwilliams/.m2/repository/org/apache/neethi/neethi/3.0.2/neethi-3.0.2.jar:/Users/dwilliams/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.12/jackson-core-asl-1.9.12.jar:/Users/dwilliams/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.12/jackson-mapper-asl-1.9.12.jar:/Users/dwilliams/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.12/jackson-jaxrs-1.9.12.jar:/Users/dwilliams/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.12/jackson-xc-1.9.12.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-core/3.2.4.RELEASE/spring-core-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-context/3.2.4.RELEASE/spring-context-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-aop/3.2.4.RELEASE/spring-aop-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-beans/3.2.4.RELEASE/spring-beans-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-expression/3.2.4.RELEASE/spring-expression-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-webmvc/3.2.4.RELEASE/spring-webmvc-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/org/springframework/spring-web/3.2.4.RELEASE/spring-web-3.2.4.RELEASE.jar:/Users/dwilliams/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar:/Users/dwilliams/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/Users/dwilliams/.m2/repository/ch/qos/logback/logback-core/1.0.13/logback-core-1.0.13.jar:/Users/dwilliams/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/dwilliams/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/dwilliams/.m2/repository/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar:/Users/dwilliams/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-server/9.0.4.v20130625/jetty-server-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-http/9.0.4.v20130625/jetty-http-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-util/9.0.4.v20130625/jetty-util-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-io/9.0.4.v20130625/jetty-io-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-webapp/9.0.4.v20130625/jetty-webapp-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-xml/9.0.4.v20130625/jetty-xml-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-servlet/9.0.4.v20130625/jetty-servlet-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/eclipse/jetty/jetty-security/9.0.4.v20130625/jetty-security-9.0.4.v20130625.jar:/Users/dwilliams/.m2/repository/org/apache/hbase/hbase-client/0.95.0/hbase-client-0.95.0.jar:/Users/dwilliams/.m2/repository/org/apache/hbase/hbase-common/0.95.0/hbase-common-0.95.0.jar:/Users/dwilliams/.m2/repository/com/google/guava/guava/12.0.1/guava-12.0.1.jar:/Users/dwilliams/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/dwilliams/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar:/Users/dwilliams/.m2/repository/org/apache/hbase/hbase-protocol/0.95.0/hbase-protocol-0.95.0.jar:/Users/dwilliams/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar:/Users/dwilliams/.m2/repository/org/cloudera/htrace/htrace/1.50/htrace-1.50.jar:/Users/dwilliams/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/Users/dwilliams/.m2/repository/io/netty/netty/3.5.9.Final/netty-3.5.9.Final.jar:/Users/dwilliams/.m2/repository/org/apache/hadoop/hadoop-core/1.1.2/hadoop-core-1.1.2.jar:/Users/dwilliams/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/dwilliams/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/Users/dwilliams/.m2/repository/com/sun/jersey/jersey-core/1.8/jersey-core-1.8.jar:/Users/dwilliams/.m2/repository/com/sun/jersey/jersey-json/1.8/jersey-json-1.8.jar:/Users/dwilliams/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/dwilliams/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/dwilliams/.m2/repository/com/sun/jersey/jersey-server/1.8/jersey-server-1.8.jar:/Users/dwilliams/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar:/Users/dwilliams/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar:/Users/dwilliams/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/Users/dwilliams/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/Users/dwilliams/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/dwilliams/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/dwilliams/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/dwilliams/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/dwilliams/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar:/Users/dwilliams/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/Users/dwilliams/.m2/repository/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar:/Users/dwilliams/.m2/repository/tomcat/jasper-runtime/5.5.12/jasper-runtime-5.5.12.jar:/Users/dwilliams/.m2/repository/tomcat/jasper-compiler/5.5.12/jasper-compiler-5.5.12.jar:/Users/dwilliams/.m2/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar:/Users/dwilliams/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar:/Users/dwilliams/.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar:/Users/dwilliams/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar:/Users/dwilliams/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/Users/dwilliams/.m2/repository/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1.jar:/Users/dwilliams/.m2/repository/org/apache/hadoop/hadoop-client/1.2.1/hadoop-client-1.2.1.jar:/Users/dwilliams/.m2/repository/org/apache/zookeeper/zookeeper/3.3.2/zookeeper-3.3.2.jar:/Users/dwilliams/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar:/Users/dwilliams/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar:/Users/dwilliams/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/dwilliams/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.library.path=/Users/dwilliams/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/var/folders/97/0mrcz3c97mj1lf7s74gld9k00000gp/T/
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client environment:os.name=Mac
> OS X
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:os.arch=x86_64
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:os.version=10.8.4
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client environment:user.name
> =dwilliams
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:user.home=/Users/dwilliams
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=/Users/dwilliams/IdeaProjects/vinapi
> 13/09/09 18:06:32 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=180000
> watcher=hconnection-0xc6824d9
> 13/09/09 18:06:32 INFO zookeeper.ClientCnxn: Opening socket connection to
> server localhost/127.0.0.1:2181
> 13/09/09 18:06:32 INFO zookeeper.RecoverableZooKeeper: The identifier of
> this process is hconnection-0xc6824d9
> 13/09/09 18:06:32 INFO zookeeper.ClientCnxn: Socket connection established
> to localhost/127.0.0.1:2181, initiating session
> 13/09/09 18:06:32 INFO zookeeper.ClientCnxn: Session establishment
> complete on server localhost/127.0.0.1:2181, sessionid =
> 0x141054787380008, negotiated timeout = 40000
> 13/09/09 18:06:32 INFO
> client.HConnectionManager$HConnectionImplementation: ClusterId is
> b8404b5d-0e9f-45f4-aef6-4c895c887457
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/Users/dwilliams/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/Users/dwilliams/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type
> [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
> 13/09/09 18:06:33 INFO annotation.AutowiredAnnotationBeanPostProcessor:
> JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
> 13/09/09 18:06:33 INFO support.DefaultListableBeanFactory:
> Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@3598d24f:
> defining beans
> [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,config,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,properties,hTablePool,appHealthCheck,healthCheck,validate,jsonProvider,submit,hConnection,jaxRsServer,cxf,hadoopConfiguration,jaxRsApiApplication,decode];
> root of factory hierarchy
> 13/09/09 18:06:33 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=180000
> watcher=hconnection-0x1abd5c6b
> 13/09/09 18:06:33 INFO zookeeper.RecoverableZooKeeper: The identifier of
> this process is hconnection-0x1abd5c6b
> 13/09/09 18:06:33 INFO zookeeper.ClientCnxn: Opening socket connection to
> server localhost/127.0.0.1:2181
> 13/09/09 18:06:33 INFO zookeeper.ClientCnxn: Socket connection established
> to localhost/127.0.0.1:2181, initiating session
> 13/09/09 18:06:33 INFO zookeeper.ClientCnxn: Session establishment
> complete on server localhost/127.0.0.1:2181, sessionid =
> 0x141054787380009, negotiated timeout = 40000
> 13/09/09 18:06:33 INFO
> client.HConnectionManager$HConnectionImplementation: ClusterId is
> b8404b5d-0e9f-45f4-aef6-4c895c887457
> 2013-09-09 18:06:33.938 java[14568:1703] Unable to load realm info from
> SCDynamicStore
> 13/09/09 18:06:33 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=180000
> watcher=hconnection-0x1c077cfc
> 13/09/09 18:06:33 INFO zookeeper.RecoverableZooKeeper: The identifier of
> this process is hconnection-0x1c077cfc
> 13/09/09 18:06:33 INFO zookeeper.ClientCnxn: Opening socket connection to
> server localhost/127.0.0.1:2181
> 13/09/09 18:06:33 INFO zookeeper.ClientCnxn: Socket connection established
> to localhost/127.0.0.1:2181, initiating session
> 13/09/09 18:06:33 INFO zookeeper.ClientCnxn: Session establishment
> complete on server localhost/127.0.0.1:2181, sessionid =
> 0x14105478738000a, negotiated timeout = 40000
> 13/09/09 18:06:34 INFO
> client.HConnectionManager$HConnectionImplementation: ClusterId is
> b8404b5d-0e9f-45f4-aef6-4c895c887457
> 13/09/09 18:06:34 WARN client.ServerCallable: Received exception, tries=0,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:35 WARN client.ServerCallable: Received exception, tries=1,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:36 WARN client.ServerCallable: Received exception, tries=2,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:37 WARN client.ServerCallable: Received exception, tries=3,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:39 WARN client.ServerCallable: Received exception, tries=4,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:41 WARN client.ServerCallable: Received exception, tries=5,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:45 WARN client.ServerCallable: Received exception, tries=6,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:49 WARN client.ServerCallable: Received exception, tries=7,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:06:57 WARN client.ServerCallable: Received exception, tries=8,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:13 WARN client.ServerCallable: Received exception, tries=9,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:13 WARN
> client.HConnectionManager$HConnectionImplementation: Encountered problems
> when prefetch META table:
> org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after
> attempts=10, exceptions:
> Mon Sep 09 18:06:34 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:35 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:36 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:37 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:39 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:41 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:45 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:49 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:06:57 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
> Mon Sep 09 18:07:13 PDT 2013,
> org.apache.hadoop.hbase.client.HTable$2@79ab14cd, java.io.IOException:
> Call to /10.14.49.129:55073 failed on local exception:
> java.io.EOFException
>
> at
> org.apache.hadoop.hbase.client.ServerCallable.withRetries(ServerCallable.java:191)
> at org.apache.hadoop.hbase.client.HTable.getRowOrBefore(HTable.java:515)
> at
> org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:161)
> at
> org.apache.hadoop.hbase.client.MetaScanner.access$000(MetaScanner.java:54)
> at
> org.apache.hadoop.hbase.client.MetaScanner$1.connect(MetaScanner.java:133)
> at
> org.apache.hadoop.hbase.client.MetaScanner$1.connect(MetaScanner.java:130)
> at
> org.apache.hadoop.hbase.client.HConnectionManager.execute(HConnectionManager.java:382)
> at
> org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:130)
> at
> org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:105)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:1082)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1135)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:1034)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:984)
> at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:246)
> at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:187)
> at
> org.apache.hadoop.hbase.client.HTableFactory.createHTableInterface(HTableFactory.java:39)
> at
> org.apache.hadoop.hbase.client.HTablePool.createHTable(HTablePool.java:270)
> at
> org.apache.hadoop.hbase.client.HTablePool.findOrCreateTable(HTablePool.java:200)
> at org.apache.hadoop.hbase.client.HTablePool.getTable(HTablePool.java:179)
> at
> com.truecar.intelligence.vinapi.HConnectionTest.testHConnection(HConnectionTest.java:31)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
> at com.sun.proxy.$Proxy0.invoke(Unknown Source)
> at
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
> at
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
> Caused by: java.io.IOException: Call to /10.14.49.129:55073 failed on
> local exception: java.io.EOFException
> at
> org.apache.hadoop.hbase.ipc.HBaseClient.wrapException(HBaseClient.java:1354)
> at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:1325)
> at
> org.apache.hadoop.hbase.ipc.ProtobufRpcClientEngine$Invoker.invoke(ProtobufRpcClientEngine.java:131)
> at com.sun.proxy.$Proxy27.get(Unknown Source)
> at
> org.apache.hadoop.hbase.protobuf.ProtobufUtil.getRowOrBefore(ProtobufUtil.java:1183)
> at org.apache.hadoop.hbase.client.HTable$2.call(HTable.java:517)
> at org.apache.hadoop.hbase.client.HTable$2.call(HTable.java:515)
> at
> org.apache.hadoop.hbase.client.ServerCallable.withRetries(ServerCallable.java:167)
> ... 48 more
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:392)
> at
> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.readResponse(HBaseClient.java:991)
> at
> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.run(HBaseClient.java:661)
>
>
> 13/09/09 18:07:14 WARN client.ServerCallable: Received exception, tries=0,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:15 WARN client.ServerCallable: Received exception, tries=1,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:16 WARN client.ServerCallable: Received exception, tries=2,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:17 WARN client.ServerCallable: Received exception, tries=3,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:19 WARN client.ServerCallable: Received exception, tries=4,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:21 WARN client.ServerCallable: Received exception, tries=5,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:25 WARN client.ServerCallable: Received exception, tries=6,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:29 WARN client.ServerCallable: Received exception, tries=7,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
> 13/09/09 18:07:37 WARN client.ServerCallable: Received exception, tries=8,
> numRetries=10 message=Call to /10.14.49.129:55073 failed on local
> exception: java.io.EOFException
>
>
On the exceptions, what Nicolas said.  EOFException usually means some mess
in your filesystem -- i.e. files that do not make sense (be warned that if
you are running against local filesystem, that the hadoop implementation of
local filesystem does not support sync so an unclean shutdown can make for
'interesting' state).  Was the hbase.rootdir clean when you started?

St.Ack


> --
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message