accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <eric.new...@gmail.com>
Subject Re: YCSB++ dbcompile
Date Tue, 05 Mar 2013 21:56:33 GMT
You need to provide the hadoop and zookeeper jar files, too.

-Eric



On Tue, Mar 5, 2013 at 4:52 PM, David Lynch <david_lynch@outlook.com> wrote:

> Apologies, forgot to include errors; Any help appreciated.
>
> Dave
>
>
>    dbcompile-accumulo:
>
>    dbcompile:
>        [javac] Compiling 6 source files to
>    /usr/local/YCSB-master/build/classes
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:28:
>    error: package org.apache.hadoop.io does not exist
>        [javac] import org.apache.hadoop.io.Text;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:29:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.KeeperException;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:48:
>    error: cannot find symbol
>        [javac]     private Text _colFam = new Text("");
>        [javac]             ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClient
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:7:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.CreateMode;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:8:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.KeeperException;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:9:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.WatchedEvent;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:10:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.Watcher;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:11:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.ZooKeeper;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:12:
>    error: package org.apache.zookeeper.ZooDefs does not exist
>        [javac] import org.apache.zookeeper.ZooDefs.Ids;
>        [javac]                                    ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:13:
>    error: package org.apache.zookeeper.data does not exist
>        [javac] import org.apache.zookeeper.data.Stat;
>        [javac]                                 ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:17:
>    error: cannot find symbol
>        [javac] public class ZKProducerConsumer implements Watcher {
>        [javac]                                            ^
>        [javac]   symbol: class Watcher
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:156:
>    error: cannot find symbol
>        [javac]     private Scanner getRow(Text row, Set<String> fields)
>        [javac]                            ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClient
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:322:
>    error: cannot find symbol
>        [javac]     private void deleteRow(Text row)  throws
>    TableNotFoundException {
>        [javac]                            ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClient
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:19:
>    error: cannot find symbol
>        [javac]     static ZooKeeper zk = null;
>        [javac]            ^
>        [javac]   symbol:   class ZooKeeper
>        [javac]   location: class ZKProducerConsumer
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:41:
>    error: cannot find symbol
>        [javac]     synchronized public void process(WatchedEvent event) {
>        [javac]                                      ^
>        [javac]   symbol:   class WatchedEvent
>        [javac]   location: class ZKProducerConsumer
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:86:
>    error: cannot find symbol
>        [javac]         boolean produce(String key) throws
>    KeeperException, InterruptedException{
>        [javac]                                            ^
>        [javac]   symbol:   class KeeperException
>        [javac]   location: class Queue
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/ZKProducerConsumer.java:97:
>    error: cannot find symbol
>        [javac]         String consume() throws KeeperException,
>    InterruptedException {
>        [javac]                                 ^
>        [javac]   symbol:   class KeeperException
>        [javac]   location: class Queue
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientFilter.java:25:
>    warning: [deprecation] FilteringIterator in
>    org.apache.accumulo.core.iterators has been deprecated
>        [javac] import
>    org.apache.accumulo.core.iterators.FilteringIterator;
>        [javac]                                          ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientFilter.java:43:
>    error: cannot find symbol
>        [javac]     private Text _colFam = new Text("");
>        [javac]             ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientFilter
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientFilter.java:255:
>    error: cannot find symbol
>        [javac]     private void deleteRow(String table, Text row)  {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientFilter
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientFilter.java:291:
>    error: cannot find symbol
>        [javac]     private Scanner getRow(String table, Text row,
>    Set<String> fields) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientFilter
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:28:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.CreateMode;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:29:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.KeeperException;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:30:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.WatchedEvent;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:31:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.Watcher;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:32:
>    error: package org.apache.zookeeper does not exist
>        [javac] import org.apache.zookeeper.ZooKeeper;
>        [javac]                            ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:33:
>    error: package org.apache.zookeeper.ZooDefs does not exist
>        [javac] import org.apache.zookeeper.ZooDefs.Ids;
>        [javac]                                    ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:34:
>    error: package org.apache.zookeeper.data does not exist
>        [javac] import org.apache.zookeeper.data.Stat;
>        [javac]                                 ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:59:
>    error: cannot find symbol
>        [javac]     private Text _colFam = new Text("");
>        [javac]             ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientMatchPercentage
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:344:
>    error: cannot find symbol
>        [javac]     private void deleteRow(String table, Text row) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientMatchPercentage
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:380:
>    error: cannot find symbol
>        [javac]     private Scanner getRow(String table, Text row,
>    Set<String> fields) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientMatchPercentage
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientSecurity.java:51:
>    error: cannot find symbol
>        [javac]     private Text _colFam = new Text("");
>        [javac]             ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientSecurity
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientSecurity.java:357:
>    error: cannot find symbol
>        [javac]     private void deleteRow(String table, Text row) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientSecurity
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientSecurity.java:393:
>    error: cannot find symbol
>        [javac]     private Scanner getRow(String table, Text row,
>    Set<String> fields) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientSecurity
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientUniqueFamily.java:25:
>    warning: [deprecation] FilteringIterator in
>    org.apache.accumulo.core.iterators has been deprecated
>        [javac] import
>    org.apache.accumulo.core.iterators.FilteringIterator;
>        [javac]                                          ^
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientUniqueFamily.java:43:
>    error: cannot find symbol
>        [javac]     private Text _colFam = new Text("");
>        [javac]             ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientUniqueFamily
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientUniqueFamily.java:252:
>    error: cannot find symbol
>        [javac]     private void deleteRow(String table, Text row) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientUniqueFamily
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientUniqueFamily.java:288:
>    error: cannot find symbol
>        [javac]     private Scanner getRow(String table, Text row,
>    Set<String> fields) {
>        [javac]                                          ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClientUniqueFamily
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:48:
>    error: cannot find symbol
>        [javac]     private Text _colFam = new Text("");
>        [javac]                                ^
>        [javac]   symbol:   class Text
>        [javac]   location: class AccumuloClient
>        [javac]
>    /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClient.java:63:
>    error: cannot find symbol
>        [javac]             _colFam = new
>    Text(getProperties().getProperty("accumulo.columnFamily"));
>        [javac]                           ^
>
>
>
> ------------------------------
> From: david_lynch@outlook.com
> To: user@accumulo.apache.org
> Subject: YCSB++ dbcompile
> Date: Tue, 5 Mar 2013 21:41:07 +0000
>
>
> Hi,
>
> I've recently started getting up to speed with Accumulo, I have it setup
> across 4 EC2 Instances with no issues. I am now trying to use the YCSB++
> Client (https://github.com/MiloPolte/YCSB) to run some benchmarks.
>
> I am able to compile the ycsb.jar just running ANT within the YCSB
> Directory;
>
> root@xxxxxxxxxxx:/usr/local/YCSB-master# *ant*
> Buildfile: /usr/local/YCSB-master/build.xml
> compile:
>     [mkdir] Created dir: /usr/local/YCSB-master/build/classes
>     [javac] Compiling 47 source files to
> /usr/local/YCSB-master/build/classes
> makejar:
>       [jar] Building jar: /usr/local/YCSB-master/build/ycsb.jar
> BUILD SUCCESSFUL
> Total time: 4 seconds
>
> However I am unable to compile when using *ant dbcompile-accumulo*, I
> have copied all jars from the Accumulo lib to the *YCSB/db/accumulo/lib*it makes the
ycsb.jar however when it begins dbcompile it begins giving
> errors;
>
>
> makejar:
>       [jar] Building jar: /usr/local/YCSB-master/build/ycsb.jar
>
>
>
> Thanks,
> Dave
>
>
>
>
>
>
>

Mime
View raw message