Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # user - YCSB++ dbcompile


Copy link to this message
-
Re: YCSB++ dbcompile
John Vines 2013-03-05, 22:42
Negative. We deprecate code for at least one release before taking it out,
while trying to keep the same behavior in place. So you should have no
issues with this release, but once 1.6 is released a lot of this code will
no longer work.
On Tue, Mar 5, 2013 at 5:35 PM, David Lynch <[EMAIL PROTECTED]> wrote:

>  I had the zookeeper jar in *YCSB-master/lib* and the Hadoop and Accumulo
> jar in */YCSB-master/db/accumulo/lib* however I did not have the Hadoop
> main directory jars from */usr/local/hadoop* once I copied those the
> build was successful!
>
> However it still gave some warning....that some files had been deprecated
> would this cause any further errors?
>
> Thanks Again,
> Dave
>
>
> root@ip-10-48-242-6:/usr/local/YCSB-master# ant dbcompile-accumulo
>
> 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
>
> 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/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/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/AccumuloClientMatchPercentage.java:222:
> warning: [deprecation] setValueRegex(String) in ScannerBase has been
> deprecated
>     [javac]
> _scanScanner.setValueRegex("a{"+(101-_matchPercentage)+"}");
>     [javac]                         ^
>     [javac]
> /usr/local/YCSB-master/db/accumulo/src/com/yahoo/ycsb/db/AccumuloClientMatchPercentage.java:385:
> warning: [deprecation] setValueRegex(String) in ScannerBase has been
> deprecated
>     [javac]
> _singleScanner.setValueRegex("a{"+(101-_matchPercentage)+"}");
>     [javac]                           ^
>     [javac] 4 warnings
>
>
> makejar:
>       [jar] Building jar: /usr/local/YCSB-master/build/ycsb.jar
>
> BUILD SUCCESSFUL
>
>
>
> ------------------------------
> Date: Tue, 5 Mar 2013 16:56:33 -0500
> Subject: Re: YCSB++ dbcompile
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
>
> You need to provide the hadoop and zookeeper jar files, too.
>
> -Eric
>
>
>
> On Tue, Mar 5, 2013 at 4:52 PM, David Lynch <[EMAIL PROTECTED]>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]