Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get the HBASE part of the build to work #5

Closed
johnelle opened this issue Aug 16, 2012 · 1 comment
Closed

Can't get the HBASE part of the build to work #5

johnelle opened this issue Aug 16, 2012 · 1 comment

Comments

@johnelle
Copy link

Trying to build on Ubuntu 12.04. Got most of the way there by installing everything, including ant and ivy manually. It builds the first few jars file but ant jar hbase generates the folowing:

hbase.compile:
[javac] /home/johnelle/hadoop-book/build.xml:126: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to /home/johnelle/hadoop-book/build/classes
[javac] /home/johnelle/hadoop-book/ch13/src/main/java/HBaseStationCli.java:23: addColumn(byte[],byte[]) in org.apache.hadoop.hbase.client.Get cannot be applied to (byte[])
[javac] get.addColumn(INFO_COLUMNFAMILY);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error

@tomwhite
Copy link
Owner

Sorry I didn't see this reported at the time! I have upgraded HBase to 0.94 (see 0087add) so the build should now work with later versions of HBase that no longer have this addColumn method (which was deprecated in 0.90).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants