I'm trying to set up an Accumulo cluster that uses a separate ZooKeeper cluster. I've configured the accumulo-site.xml file to include the instance.zookeeper.host property with the hostname or IP address of my ZooKeeper nodes, but when I try to initialize Accumulo with the accumulo init command, I get the following error message:ZOOKEEPER_HOME is not set or is not a directory. Please make sure it's set globally or in conf/accumulo-env.sh.
I've verified that the ZooKeeper client is installed on the Accumulo nodes and that it is configured correctly, and I've checked the network connectivity between the nodes. I'm sure that I've set the instance.zookeeper.host property correctly in the accumulo-site.xml .file
What could be causing this error, and how can I resolve it?
Accumulo error: "ZOOKEEPER_HOME is not set or is not a directory" with separate ZooKeeper cluster
58 views Asked by Felhi Rihab At
1
There are 1 answers
Related Questions in APACHE-ZOOKEEPER
- Changing kafka zookeeper.connect by adding chroot
- Suppress Log4j Output from org.apache.zookeeper.ZooKeeper
- Using Kazoo to interact with a ZK cluster
- Zookeeper timeout when upgrade flink 1.14 to 1.18
- Docker-compose Kafka: no brokers available
- Why I'm getting this error when implementing SSL security in zookeeper(kafka) and connecting using zookeeper-shell.sh - PKIX path building failed?
- Keeper Clickhouse Replication DDL on cluster, but no replication data, error "Table was in readonly mode"
- zkcli upconfig by using java service
- Error while running the zookeeper command on windows machine
- HBase Zookeeper Connection Error Docker Standalone 2.3.x and 2.4.x
- can't to start clickhouse service after restart
- The system cannot find the path specified. Unable to start Zookeeper
- Zookeeper integration with .Net c# getting error while fetching node
- log4j properties doesn't apply after upgrading zookeeper from 3.6.3 to 3.9.1
- kafka controllers + root cause of re-elect in worse case scenario
Related Questions in HADOOP2
- trino : io.trino.spi.trinoexception error reading from hdfs at position caused by java.io.ioexception 4 missing blocks , the stripe is : AlignedStripe
- how can i use job.addCacheArchive to load cache file from the output of another mapreduce?
- Configure hadoop.service.shutdown.timeout property
- Accumulo error: "ZOOKEEPER_HOME is not set or is not a directory" with separate ZooKeeper cluster
- Test cases fail with permission denied error with hadoop-minicluster initialization for 3.2.2 version
- calculating resources for the jobs in accepted state
- Module/Package resolution in Python
- How can I get job configuration in command line?
- How to get specific key/value from HDFS via HTTP or JAVA API?
- "ENOENT: No such file or directory" in hadoop while executing WordCount program
- What is the difference between FileInputStream/FileOutputStream Vs FSDataInputStream/FSDataOutputStream and where we will use them
- Spark 3.2.1 fetch HBase data not working with NewAPIHadoopRDD
- Nifi service going down every day
- invalid variable name error on hadoop-functions.sh file on manjaro
- I successfully Copied Data From a Source Table to a Partitioned Table Using Hive but The Data Can't be found In The Partitioned Table
Related Questions in ACCUMULO
- Row edit iterator in Apache Accumulo
- Is Accumulo TableOperations.createTable synchronous?
- Tablet Server Access for Accumulo Running on AWS
- Executing scan -t table returns no result despite tablet server showing 110K entries
- Hive Accumulo Integration
- Accumulo scan/write not running in standalone Java main program in AWS EC2 master using Cloudera CDH 5.8.2
- Having a runtime exception with Nutch 2.4 inject
- Accumulo tserver only listens on localhost
- How to determine Accumulo table visibilities?
- Using regex filter in Accumulo Proxy C# client
- Deleting a row in Accumulo using Pyaccumulo
- Accumulo-Pig error - Connector info for AccumuloInputFormat can only be set once per job
- Cannot use SASL if Hadoop security is not enabled
- How do we create secondary indexes in Accumulo?
- Installing Hadoop, ZooKeeper, AccumuLo on Mac
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It would help to know what version of Accumulo and ZooKeeper you're using. Based on the error message, I'm guessing Accumulo is 1.x (hopefully, the latest 1.x, which is currently 1.10.3, since all earlier versions are obsoleted by the latest).
Explanation of the Error message
Apache Accumulo typically is bundled with all of its dependencies except Apache Hadoop and Apache ZooKeeper, which are expected to be provided by the user separately. Setting the
instance.zookeeper.hostproperty is needed to ensure that Accumulo knows where ZooKeeper is running, so it can talk to it. However, before you get to that point, you need to ensure that all of Accumulo's dependencies are on itsCLASSPATH, so it can use the ZooKeeper client code in ZooKeeper's own jars to communicate with it.The default scripts that come with Accumulo use an environment script,
conf/accumulo-env.sh, that help configure itsCLASSPATH, so that all the dependencies are available to it when an Accumulo process starts. This script adds jars from Accumulo's ownlib/directory to theCLASSPATH, for the dependencies that come bundled, and also tries to locate Hadoop and ZooKeeper to add those to theCLASSPATHby detecting them at their installed locations,HADOOP_HOMEandZOOKEEPER_HOME.How to Fix it
To fix this issue, you need to set
ZOOKEEPER_HOMEto point to the location where ZooKeeper is installed, or you need to edit theconf/accumulo-env.shscript to put the ZooKeeper jars on theCLASSPATHanother way.Accumulo 1.10 assumes you are using ZooKeeper 3.4, which included its jars in different locations than newer versions of ZooKeeper. You may need to add
$ZOOKEEPER_HOME/libto theCLASSPATHinstead of, or in addition to,$ZOO_KEEPER_HOME, depending on your version of ZooKeeper.This is just general information. To get details on your specific situation, the best thing to do is contact the Accumulo user mailing list for additional help/advice.