Are you using secure HBase? Don't -- it'll only get in the way for a simple
example. Is the master running? Be sure to run ./bin/start-hbase.sh from
the directory where you unpacked the tgz. You can omit the conf.set(...)
business from your code. By default, the configuration will point to local
Nick's suggestions appear to have helped, but we're not home yet.
Start-up, CLI:
$./bin/start-hbase.sh
starting master, logging to
/Users/robertfutrelle/Research/HBase/hbase/bin/../logs/hbase-robertfutrelle-master-Macintosh.local.out
Then I run my Java code, w. conf.set(…) commented out per
Glad to hear you're making progress. Can you provide more information about
your environment? Are you running a released version of HBase or from a
checkout of trunk? How did you install HBase -- or are you running from the
tgz? How do you have the HBase dependencies specified for your Java
I suggest you use a Maven project.
I can copy-paste a small pom.xml for you to get you started.
It will solve all of those missing JARS you have.
Just make sure to install M2Eclipse plugin (Eclipse Marketplace)
On Dec 18, 2012, at 8:15 PM, Bob Futrelle wrote:
Nick's suggestions appear to have
I'm sure I found all the jars I need.
I'm not a Maven user.
My son understands Maven well.
He knows about the system I'm developing.
He suggests that there is no need for me to learn and use Maven.
My approach is straightforward.
I let Eclipse do the builds and have been for,
I don't know - the
Responses inline.
On Tue, Dec 18, 2012 at 2:27 PM, Bob Futrelle bob.futre...@gmail.comwrote:
I'm sure I found all the jars I need.
The suggestion that you didn't have all the jars you need is based on the
NoClassDefFound exception you mentioned earlier.
I'm not a Maven user.
I don't think
I'm able to duplicate the problems I've described by using only the first
two lines of code.
Entire class is:
package us.tsos.nlpng.hbase.test1;
import java.io.IOException;
import org.apache.hadoop.hbase.client.HBaseAdmin;
import org.apache.hadoop.hbase.HBaseConfiguration;
public class
Nick: Thanks still again for the lengthy comments.
This is a quick reply covering some of the points.
There have been no Class not found exceptions in the more recent versions
of my system setup.
jps -l immediately after starting hbase, shows:
8904
20689 sun.tools.jps.Jps
7899
467
20643
Wow.
That security exception encountered was harmless and a red herring
unfortunately (HBase security is not enabled unless you take several steps
not done here), and assumptions from that point have made this quite
unsatisfactory for everyone. I wish you well with your explorations of
Cassandra.
I really don't understand what you are saying.
From the beginning I stated that I was very much a beginner.
I valued all the advice I got.
I felt humble in the presence of you true experts.
So to interpret my actions as lacking humility is confusing.
What in the world did I do wrong that I could
Many more assumptions. The *only* thing I said is you should try
approaching an unfamiliar system with a bit more humility. I doubt Nick
wouldn't be interested in helping you further. It might be helpful, rather
than argue what you or your son might think, to ask Nick et al for
clarification or
There sure is a major misunderstanding here.
I approach all unfamiliar systems with a great deal of humility.
How you managed to detect something other than that in the things I said, I
don't know.
I am rather high-spirited so sometimes in the rush of things I say things
that make it appear that
Thanks for your quick reply.
On Mon, Dec 17, 2012 at 11:25 PM, Jimmy Xiang jxi...@cloudera.com wrote:
Have you tried IPv4?
I can disable IPv6 in Mountain Lion, but all my communication is
*within*my own machine, so I don't understand why I'd be messing with
IP, since
nothing I'm doing is
I still get the same error.
This is the contents of the configuration as it is set right before
calling new
HBaseAdmin(getConfiguration()):
key :hbase.auth.token.max.lifetime
value :60480
key :hbase.thrift.maxQueuedRequests
value :1000
key :io.seqfile.compress.blocksize
value :100
key
Do you have a local zookeeper running? Telnet localhost 2181 connect to
anything?
Obviously we run 0.94 with no security setup with no problem. Hence looking for
basic setup problems.
- Andy
On Jun 2, 2012, at 1:20 PM, Amit Sela am...@infolinks.com wrote:
I still get the same error.
I don't know about a local zookeeper running.
I'm trying to run a test that extends HBaseTestingUtils.
It worked fine with the old versions when it extended HBaseClusterTestCase.
Since it is deprecated (also same for HBaseTestCase) I adjusted the test a
little bit (things like cong, fs, dfs etc..
Hi all,
I'm upgrading our cluster with the following versions:
HBase 0.90.2 to 0.94.0
Hadoop 0.20.3 to 1.0.3
zookeeper 3.3.2 to 3.4.3
As a first step, I'm trying to run some tests on my PC and I get a
SecurityException from zookeeper:
SecurityException: java.lang.SecurityException: Unable to
See https://cwiki.apache.org/ZOOKEEPER/zookeeper-and-sasl.html
For a fully baked (but simple) example configuration, have a look at
https://github.com/apurtell/tm-ec2-demo/ . Start with
https://github.com/apurtell/tm-ec2-demo/blob/master/bin/image/tarball/setup-remote
On Thu, May 31, 2012 at
I still don't understand if it is optional to use the security or not ?
if i'll set the following in hbase-site.xml:
property
namehbase.zookeeper.property.requireClientAuthScheme/name
value/value
descriptionProperty from ZooKeeper's config zoo.cfg.
I'm trying to run a test for HBase (some think we wrote, internal) on my
laptop - runs perfectly with the old versions of Hadoop, HBase and
ZooKeeeper.
After deploying the new versions and re-compiling our code, I run the test.
When I try to instantiate new HBaseAdmin(getConfiguration()) -
Security is optional.
If you don't set any SASL protected ACLs on znodes, then the client doesn't
need to authenticate, you should not add any security options to the site file
like you currently are, and the message on startup about the state of JAAS
configuration is informative only and is
Server null usually means you haven't configured hbase.zookeeper.quorum in your
client's hbase-site.xml file. And that is usually because you are using a
Configuration not created by HBaseConfiguration.create()
If so the JAAS warning is a red herring.
On May 31, 2012, at 8:52 PM, Amit Sela
I mean of course server null means that hbase.zookeeper.quorum config property
is unset. And the two most common reasons are:
1. Not defined in the site file
2. Configuration object not created with HBaseConfiguration.create()
I hope this is clearer.
On May 31, 2012, at 8:59 PM, Andrew
I did some debug and the code does calls HBaseConfiguration.create() -
since my test extends HBaseTestingUtility.
and conf.properties.get(hbase.zookeeper.quorum) returns localhost.
Is that properly set, or should it be something else ? keep in my it's a
test running on my laptop, so it seems OK
Great, now remove any security related Zookeeper properties that you added in
hbase-site.xml. Only keep hbase.zookeeper.quorum.
On May 31, 2012, at 9:52 PM, Amit Sela am...@infolinks.com wrote:
I did some debug and the code does calls HBaseConfiguration.create() -
since my test extends
25 matches
Mail list logo