FAQ
I am trying to run YCSB but am getting the following errors:
[root@qisldb2a bin]# ./ycsb load hbase -P
/local/mnt/ycsb-0.1.4/workloads/workloada -p columnfamily=f1 -p
recordcount=1000000 -p threadcount=1 -s | tee -a workloada.dat
YCSB Client 0.1
Command line: -db com.yahoo.ycsb.db.HBaseClient -P
/local/mnt/ycsb-0.1.4/workloads/workloada -p columnfamily=f1 -p
recordcount=1000000 -p threadcount=1 -s -load
Loading workload...
Starting test.
  0 sec: 0 operations;
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-binding-0.1.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.4.5-cdh4.3.0--1, built on 05/28/2013 02:01
GMT
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:host.name=
qisldb2a.qualcomm.com
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_22
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.class.path=/local/mnt/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-binding-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hadoop-core-1.0.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.2.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/nosqldb-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/gemfire-binding/conf
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.library.path=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:os.version=2.6.32-220.el6.x86_64
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:user.name
=root
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:user.home=/root
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/local/mnt/ycsb-0.1.4/bin
13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=qisldb2c.qualcomm.com:2181,qisldb2b.qualcomm.com:2181,
qisldb2d.qualcomm.com:2181 sessionTimeout=60000 watcher=hconnection
13/07/21 14:59:55 INFO zookeeper.RecoverableZooKeeper: The identifier of
this process is 28343@qisldb2a.qualcomm.com
13/07/21 14:59:55 INFO zookeeper.ClientCnxn: Opening socket connection to
server qisldb2c.qualcomm.com/10.10.169.242:2181. Will not attempt to
authenticate using SASL (unknown error)
13/07/21 14:59:55 INFO zookeeper.ClientCnxn: Socket connection established
to qisldb2c.qualcomm.com/10.10.169.242:2181, initiating session
13/07/21 14:59:55 INFO zookeeper.ClientCnxn: Session establishment complete
on server qisldb2c.qualcomm.com/10.10.169.242:2181, sessionid =
0x33ff656a8e11310, negotiated timeout = 60000
Exception in thread "Thread-1" java.lang.NoClassDefFoundError:
org/apache/hadoop/net/SocketInputWrapper
         at
org.apache.hadoop.hbase.ipc.HBaseClient.createConnection(HBaseClient.java:255)
         at
org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1111)
         at
org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)
         at
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
         at $Proxy4.getProtocolVersion(Unknown Source)
         at
org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)
         at
org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:208)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1335)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1294)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1281)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:990)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:885)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:987)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:889)
         at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:846)
         at
org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:271)
         at org.apache.hadoop.hbase.client.HTable.(HTable.java:170)
         at com.yahoo.ycsb.db.HBaseClient.getHTable(HBaseClient.java:111)
         at com.yahoo.ycsb.db.HBaseClient.update(HBaseClient.java:295)
         at com.yahoo.ycsb.db.HBaseClient.insert(HBaseClient.java:350)
         at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:148)
         at
com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461)
         at com.yahoo.ycsb.ClientThread.run(Client.java:269)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.net.SocketInputWrapper
         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
         ... 24 more
  0 sec: 0 operations;
[OVERALL], RunTime(ms), 448.0
[OVERALL], Throughput(ops/sec), 0.0
java -cp
/local/mnt/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-binding-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hadoop-core-1.0.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.2.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/nosqldb-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/gemfire-binding/conf
com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.HBaseClient -P
/local/mnt/ycsb-0.1.4/workloads/workloada -p columnfamily=f1 -p
recordcount=1000000 -p threadcount=1 -s -load
[root@qisldb2a bin]#

My lib unser /local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib has the
following
[root@qisldb2a lib]# ls -ltr
total 47268
-rw-r--r-- 1 501 games 32843041 Feb 24 2012 hbase-binding-0.1.4.jar
-rwxr-xr-x 1 root root 5185290 Jul 21 14:11 hbase-0.94.6-cdh4.3.0.jar
-rwxr-xr-x 1 root root 1318951 Jul 21 14:12 zookeeper-3.4.5-cdh4.2.0.jar
-rwxr-xr-x 1 root root 5074311 Jul 21 14:13 hbase-0.94.2-cdh4.2.0.jar.orig
-rw-r--r-- 1 root root 3929148 Jul 21 14:57 hadoop-core-1.0.4.jar
-rw-r--r-- 1 root root 25477 Jul 21 14:58 slf4j-api-1.6.1.jar
-rw-r--r-- 1 root root 9749 Jul 21 14:59 slf4j-log4j12-1.6.1.jar
[root@qisldb2a lib]#

Any suggestions on what to do next?

Thank you
Sal

Search Discussions

  • Salman Ahmed at Jul 22, 2013 at 5:02 am
    The issue was related to hbase-bindings and few other jars missing.

    Thanks
    Sal
    On Sun, Jul 21, 2013 at 3:05 PM, Salman Ahmed wrote:

    I am trying to run YCSB but am getting the following errors:
    [root@qisldb2a bin]# ./ycsb load hbase -P
    /local/mnt/ycsb-0.1.4/workloads/workloada -p columnfamily=f1 -p
    recordcount=1000000 -p threadcount=1 -s | tee -a workloada.dat
    YCSB Client 0.1
    Command line: -db com.yahoo.ycsb.db.HBaseClient -P
    /local/mnt/ycsb-0.1.4/workloads/workloada -p columnfamily=f1 -p
    recordcount=1000000 -p threadcount=1 -s -load
    Loading workload...
    Starting test.
    0 sec: 0 operations;
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in
    [jar:file:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in
    [jar:file:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-binding-0.1.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in
    [jar:file:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
    explanation.
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:zookeeper.version=3.4.5-cdh4.3.0--1, built on 05/28/2013 02:01
    GMT
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:host.name=
    qisldb2a.qualcomm.com
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.version=1.6.0_22
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.vendor=Sun Microsystems Inc.
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.class.path=/local/mnt/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-binding-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hadoop-core-1.0.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.2.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/nosqldb-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/gemfire-binding/conf
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.library.path=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.io.tmpdir=/tmp
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:java.compiler=<NA>
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:os.name
    =Linux
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:os.arch=amd64
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:os.version=2.6.32-220.el6.x86_64
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client environment:user.name
    =root
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:user.home=/root
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Client
    environment:user.dir=/local/mnt/ycsb-0.1.4/bin
    13/07/21 14:59:55 INFO zookeeper.ZooKeeper: Initiating client connection,
    connectString=qisldb2c.qualcomm.com:2181,qisldb2b.qualcomm.com:2181,
    qisldb2d.qualcomm.com:2181 sessionTimeout=60000 watcher=hconnection
    13/07/21 14:59:55 INFO zookeeper.RecoverableZooKeeper: The identifier of
    this process is 28343@qisldb2a.qualcomm.com
    13/07/21 14:59:55 INFO zookeeper.ClientCnxn: Opening socket connection to
    server qisldb2c.qualcomm.com/10.10.169.242:2181. Will not attempt to
    authenticate using SASL (unknown error)
    13/07/21 14:59:55 INFO zookeeper.ClientCnxn: Socket connection established
    to qisldb2c.qualcomm.com/10.10.169.242:2181, initiating session
    13/07/21 14:59:55 INFO zookeeper.ClientCnxn: Session establishment
    complete on server qisldb2c.qualcomm.com/10.10.169.242:2181, sessionid =
    0x33ff656a8e11310, negotiated timeout = 60000
    Exception in thread "Thread-1" java.lang.NoClassDefFoundError:
    org/apache/hadoop/net/SocketInputWrapper
    at
    org.apache.hadoop.hbase.ipc.HBaseClient.createConnection(HBaseClient.java:255)
    at
    org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1111)
    at
    org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)
    at
    org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
    at $Proxy4.getProtocolVersion(Unknown Source)
    at
    org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)
    at
    org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:208)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1335)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1294)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1281)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:990)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:885)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:987)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:889)
    at
    org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:846)
    at
    org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:271)
    at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:211)
    at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:170)
    at com.yahoo.ycsb.db.HBaseClient.getHTable(HBaseClient.java:111)
    at com.yahoo.ycsb.db.HBaseClient.update(HBaseClient.java:295)
    at com.yahoo.ycsb.db.HBaseClient.insert(HBaseClient.java:350)
    at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:148)
    at
    com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461)
    at com.yahoo.ycsb.ClientThread.run(Client.java:269)
    Caused by: java.lang.ClassNotFoundException:
    org.apache.hadoop.net.SocketInputWrapper
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 24 more
    0 sec: 0 operations;
    [OVERALL], RunTime(ms), 448.0
    [OVERALL], Throughput(ops/sec), 0.0
    java -cp
    /local/mnt/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/infinispan-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/voldemort-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/core/lib/core-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-binding-0.1.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hbase-0.94.6-cdh4.3.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-api-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/hadoop-core-1.0.4.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/zookeeper-3.4.5-cdh4.2.0.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib/slf4j-log4j12-1.6.1.jar:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/nosqldb-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/jdbc-binding/conf:/local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/gemfire-binding/conf
    com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.HBaseClient -P
    /local/mnt/ycsb-0.1.4/workloads/workloada -p columnfamily=f1 -p
    recordcount=1000000 -p threadcount=1 -s -load
    [root@qisldb2a bin]#

    My lib unser /local/mnt/ycsb-0.1.4/bin/ycsb-0.1.4/hbase-binding/lib has
    the following
    [root@qisldb2a lib]# ls -ltr
    total 47268
    -rw-r--r-- 1 501 games 32843041 Feb 24 2012 hbase-binding-0.1.4.jar
    -rwxr-xr-x 1 root root 5185290 Jul 21 14:11 hbase-0.94.6-cdh4.3.0.jar
    -rwxr-xr-x 1 root root 1318951 Jul 21 14:12 zookeeper-3.4.5-cdh4.2.0.jar
    -rwxr-xr-x 1 root root 5074311 Jul 21 14:13
    hbase-0.94.2-cdh4.2.0.jar.orig
    -rw-r--r-- 1 root root 3929148 Jul 21 14:57 hadoop-core-1.0.4.jar
    -rw-r--r-- 1 root root 25477 Jul 21 14:58 slf4j-api-1.6.1.jar
    -rw-r--r-- 1 root root 9749 Jul 21 14:59 slf4j-log4j12-1.6.1.jar
    [root@qisldb2a lib]#

    Any suggestions on what to do next?

    Thank you
    Sal

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJul 21, '13 at 10:05p
activeJul 22, '13 at 5:02a
posts2
users1
websitecloudera.com
irc#hadoop

1 user in discussion

Salman Ahmed: 2 posts

People

Translate

site design / logo © 2022 Grokbase