hbase-book
hbase-book copied to clipboard
hush exception BUG
INFO main - Client environment:java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
INFO main - Client environment:java.io.tmpdir=/var/folders/g5/08jclb4s7tg4swz4jx31h2sc0000gn/T/
INFO main - Client environment:java.compiler=<NA>
INFO main - Client environment:os.name=Mac OS X
INFO main - Client environment:os.arch=x86_64
INFO main - Client environment:os.version=10.9.2
INFO main - Client environment:user.name=yuchao
INFO main - Client environment:user.home=/Users/yuchao
INFO main - Client environment:user.dir=/Users/yuchao/Downloads/hbase-book/hush
INFO main - Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection
INFO main-SendThread() - Opening socket connection to server localhost/fe80:0:0:0:0:0:0:1%1:2181
INFO main-SendThread(localhost:2181) - Socket connection established to localhost/fe80:0:0:0:0:0:0:1%1:2181, initiating session
INFO main-SendThread(localhost:2181) - Session establishment complete on server localhost/fe80:0:0:0:0:0:0:1%1:2181, sessionid = 0x144d2f6553a0008, negotiated timeout = 40000
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at org.apache.hadoop.hbase.ServerName.parseHostname(ServerName.java:81)
at org.apache.hadoop.hbase.ServerName.
I have the same problem on max osx.Do you know how to solve it?
Thanks for the feedback. I am working on that code soon and will update it to work on current systems. I use Mac too, so please bear with me.