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

Switch to Threaded View
Accumulo >> mail # user >> instance.dfs.dir created on local fs instead of in hdfs


Copy link to this message
-
Re: instance.dfs.dir created on local fs instead of in hdfs
Accumulo pulls the hdfs uri out of the core-site.xml in $HADOOP_HOME/conf.
If you have HADOOP_HOME (or $HADOOP_CONF_DIR) pointing to an empty install,
it will use that configuration, which happens to define fs.default.name as
file:///, which is the local disk. Make sure you're setting up HADOOP_HOME
correctly in your accumulo-env.sh, and make sure you have hadoop set up
correctly as well.

John
On Mon, Jan 14, 2013 at 12:39 PM, Chris Sigman <[EMAIL PROTECTED]> wrote:

> Hi everyone,
>
> I've tried initializing accumulo, and everything seems to work without
> issue, however the instance.dfs.dir directory is getting created
> locally instead of in HDFS.  Here's the output from running init:
>
> 2013-01-14 12:40:52,803 [util.Initialize] INFO : Hadoop Filesystem is
> file:///
> 2013-01-14 12:40:52,808 [util.Initialize] INFO : Accumulo data dir is
> /accumulo
> 2013-01-14 12:40:52,811 [util.Initialize] INFO : Zookeeper server is
> nn:2181
> 2013-01-14 12:40:52,811 [util.Initialize] INFO : Checking if Zookeeper
> is available. If this hangs, then you need to make sure zookeeper is
> running
> Instance name : myinst
> Enter initial password for root: ***********
> Confirm initial password for root: ***********
> 2013-01-14 12:41:02,845 [util.NativeCodeLoader] WARN : Unable to load
> native-hadoop library for your platform... using builtin-java classes
> where applicable
> 2013-01-14 12:41:02,853 [conf.Configuration] WARN :
> dfs.replication.min is deprecated. Instead, use
> dfs.namenode.replication.min
> 2013-01-14 12:41:02,942 [conf.Configuration] WARN : dfs.block.size is
> deprecated. Instead, use dfs.blocksize
> 2013-01-14 12:41:03,148 [security.ZKAuthenticator] INFO : Initialized
> root user with username: root at the request of user !SYSTEM
>
> Thanks,
> --
> Chris
>