You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Ben Cuthbert <be...@ymail.com> on 2012/08/17 17:59:08 UTC
hadoop 1.0.3 config exception
All
We are getting the following show in when we talk to hadoop 1.0.3
Seems it relates to these lines in Configuration.java
public Configuration(boolean loadDefaults) {
225 this.loadDefaults = loadDefaults;
226 if (LOG.isDebugEnabled()) {
227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
228 }
229 synchronized(Configuration.class) {
230 REGISTRY.put(this, null);
231 }
232 this.storeResource = false;
233 }
Why is this here?
2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG - org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)] java.io.IOException: config()
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
at org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am not using any client systems so i am not sure if i need to configure
that part.
On Sat, Aug 18, 2012 at 10:50 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:
> What is your host file configuration the problem related to namenode is
> almost always due to the host configuration…****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 5:07 PM
> *To:* user@hadoop.apache.org
>
> *Subject:* Re: hadoop 1.0.3 config exception****
>
> ** **
>
> Hi Ben,****
>
> Can you help me resolve this issue.****
>
> i am new to hadoop and java.****
>
> i facing issue in bringing up my NameNode.****
>
> ** **
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>
> wrote:****
>
> All****
>
> ** **
>
> We are getting the following show in when we talk to hadoop 1.0.3****
>
> ** **
>
> Seems it relates to these lines in Configuration.java ****
>
> ** **
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {****
>
> 225 this.loadDefaults = loadDefaults;****
>
> 226 if (LOG.isDebugEnabled()) {****
>
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));****
>
> 228 }****
>
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {****
>
> 230 REGISTRY.put(this, null);****
>
> 231 }****
>
> 232 this.storeResource = false;****
>
> 233 }****
>
> ** **
>
> ** **
>
> Why is this here?****
>
> ** **
>
> ** **
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)**
> **
>
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)***
> *
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)***
> *
>
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)**
> **
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> ****
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> ****
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)****
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> ****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> ****
>
> at java.lang.Thread.run(Thread.java:680)****
>
> ** **
>
> ** **
>
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am not using any client systems so i am not sure if i need to configure
that part.
On Sat, Aug 18, 2012 at 10:50 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:
> What is your host file configuration the problem related to namenode is
> almost always due to the host configuration…****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 5:07 PM
> *To:* user@hadoop.apache.org
>
> *Subject:* Re: hadoop 1.0.3 config exception****
>
> ** **
>
> Hi Ben,****
>
> Can you help me resolve this issue.****
>
> i am new to hadoop and java.****
>
> i facing issue in bringing up my NameNode.****
>
> ** **
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>
> wrote:****
>
> All****
>
> ** **
>
> We are getting the following show in when we talk to hadoop 1.0.3****
>
> ** **
>
> Seems it relates to these lines in Configuration.java ****
>
> ** **
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {****
>
> 225 this.loadDefaults = loadDefaults;****
>
> 226 if (LOG.isDebugEnabled()) {****
>
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));****
>
> 228 }****
>
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {****
>
> 230 REGISTRY.put(this, null);****
>
> 231 }****
>
> 232 this.storeResource = false;****
>
> 233 }****
>
> ** **
>
> ** **
>
> Why is this here?****
>
> ** **
>
> ** **
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)**
> **
>
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)***
> *
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)***
> *
>
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)**
> **
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> ****
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> ****
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)****
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> ****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> ****
>
> at java.lang.Thread.run(Thread.java:680)****
>
> ** **
>
> ** **
>
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am not using any client systems so i am not sure if i need to configure
that part.
On Sat, Aug 18, 2012 at 10:50 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:
> What is your host file configuration the problem related to namenode is
> almost always due to the host configuration…****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 5:07 PM
> *To:* user@hadoop.apache.org
>
> *Subject:* Re: hadoop 1.0.3 config exception****
>
> ** **
>
> Hi Ben,****
>
> Can you help me resolve this issue.****
>
> i am new to hadoop and java.****
>
> i facing issue in bringing up my NameNode.****
>
> ** **
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>
> wrote:****
>
> All****
>
> ** **
>
> We are getting the following show in when we talk to hadoop 1.0.3****
>
> ** **
>
> Seems it relates to these lines in Configuration.java ****
>
> ** **
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {****
>
> 225 this.loadDefaults = loadDefaults;****
>
> 226 if (LOG.isDebugEnabled()) {****
>
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));****
>
> 228 }****
>
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {****
>
> 230 REGISTRY.put(this, null);****
>
> 231 }****
>
> 232 this.storeResource = false;****
>
> 233 }****
>
> ** **
>
> ** **
>
> Why is this here?****
>
> ** **
>
> ** **
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)**
> **
>
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)***
> *
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)***
> *
>
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)**
> **
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> ****
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> ****
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)****
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> ****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> ****
>
> at java.lang.Thread.run(Thread.java:680)****
>
> ** **
>
> ** **
>
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am not using any client systems so i am not sure if i need to configure
that part.
On Sat, Aug 18, 2012 at 10:50 PM, Shashwat Shriparv <
dwivedishashwat@gmail.com> wrote:
> What is your host file configuration the problem related to namenode is
> almost always due to the host configuration…****
>
> ** **
>
> *From:* rahul p [mailto:rahulpoolanchalil@gmail.com]
> *Sent:* Saturday, August 18, 2012 5:07 PM
> *To:* user@hadoop.apache.org
>
> *Subject:* Re: hadoop 1.0.3 config exception****
>
> ** **
>
> Hi Ben,****
>
> Can you help me resolve this issue.****
>
> i am new to hadoop and java.****
>
> i facing issue in bringing up my NameNode.****
>
> ** **
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>
> wrote:****
>
> All****
>
> ** **
>
> We are getting the following show in when we talk to hadoop 1.0.3****
>
> ** **
>
> Seems it relates to these lines in Configuration.java ****
>
> ** **
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {****
>
> 225 this.loadDefaults = loadDefaults;****
>
> 226 if (LOG.isDebugEnabled()) {****
>
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));****
>
> 228 }****
>
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {****
>
> 230 REGISTRY.put(this, null);****
>
> 231 }****
>
> 232 this.storeResource = false;****
>
> 233 }****
>
> ** **
>
> ** **
>
> Why is this here?****
>
> ** **
>
> ** **
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)****
>
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)**
> **
>
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)***
> *
>
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)***
> *
>
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> ****
>
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)****
>
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)**
> **
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> ****
>
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> ****
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)****
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> ****
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> ****
>
> at java.lang.Thread.run(Thread.java:680)****
>
> ** **
>
> ** **
>
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
What is your host file configuration the problem related to namenode is
almost always due to the host configuration.
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 5:07 PM
To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <bencuthbert@ymail.com
<ma...@ymail.com> > wrote:
All
We are getting the following show in when we talk to hadoop 1.0.3
Seems it relates to these lines in Configuration.java
public
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d> Configuration(boolean
loadDefaults) {
225 this.loadDefaults = loadDefaults;
226 if (LOG.isDebugEnabled()) {
227 LOG.debug(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html> StringUtils.
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html#afe40f66d95f868187f9ba38c0a107486> stringifyException(new
IOException("config()")));
228 }
229 synchronized(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html> Configuration.class) {
230 REGISTRY.put(this, null);
231 }
232 this.storeResource = false;
233 }
Why is this here?
2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
java.io.IOException: config()
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
at
org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
at java.lang.Thread.run(Thread.java:680)
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
What is your host file configuration the problem related to namenode is
almost always due to the host configuration.
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 5:07 PM
To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <bencuthbert@ymail.com
<ma...@ymail.com> > wrote:
All
We are getting the following show in when we talk to hadoop 1.0.3
Seems it relates to these lines in Configuration.java
public
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d> Configuration(boolean
loadDefaults) {
225 this.loadDefaults = loadDefaults;
226 if (LOG.isDebugEnabled()) {
227 LOG.debug(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html> StringUtils.
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html#afe40f66d95f868187f9ba38c0a107486> stringifyException(new
IOException("config()")));
228 }
229 synchronized(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html> Configuration.class) {
230 REGISTRY.put(this, null);
231 }
232 this.storeResource = false;
233 }
Why is this here?
2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
java.io.IOException: config()
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
at
org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
at java.lang.Thread.run(Thread.java:680)
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
What is your host file configuration the problem related to namenode is
almost always due to the host configuration.
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 5:07 PM
To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <bencuthbert@ymail.com
<ma...@ymail.com> > wrote:
All
We are getting the following show in when we talk to hadoop 1.0.3
Seems it relates to these lines in Configuration.java
public
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d> Configuration(boolean
loadDefaults) {
225 this.loadDefaults = loadDefaults;
226 if (LOG.isDebugEnabled()) {
227 LOG.debug(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html> StringUtils.
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html#afe40f66d95f868187f9ba38c0a107486> stringifyException(new
IOException("config()")));
228 }
229 synchronized(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html> Configuration.class) {
230 REGISTRY.put(this, null);
231 }
232 this.storeResource = false;
233 }
Why is this here?
2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
java.io.IOException: config()
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
at
org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
at java.lang.Thread.run(Thread.java:680)
Re: hadoop 1.0.3 config exception
Posted by Ben Cuthbert <be...@ymail.com>.
Rahul
Not sure I can help you as this seems to be inside the Configuration.java class. Are you sure you are getting this error and it is not some other error?
This should not stop you bringing up your service.
On 18 Aug 2012, at 12:37, rahul p <ra...@gmail.com> wrote:
> Hi Ben,
> Can you help me resolve this issue.
> i am new to hadoop and java.
> i facing issue in bringing up my NameNode.
>
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG - org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)] java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
First delete the hdfs directory name directory and data directory. then
Chown the folder of the Hadoop folder
Give chmod 755 to the Hadoop folder and then retry formatting the filesystem
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 7:44 PM
To: user@hadoop.apache.org; bejoy.hadoop@gmail.com
Subject: Re: hadoop 1.0.3 config exception
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
First delete the hdfs directory name directory and data directory. then
Chown the folder of the Hadoop folder
Give chmod 755 to the Hadoop folder and then retry formatting the filesystem
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 7:44 PM
To: user@hadoop.apache.org; bejoy.hadoop@gmail.com
Subject: Re: hadoop 1.0.3 config exception
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
First delete the hdfs directory name directory and data directory. then
Chown the folder of the Hadoop folder
Give chmod 755 to the Hadoop folder and then retry formatting the filesystem
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 7:44 PM
To: user@hadoop.apache.org; bejoy.hadoop@gmail.com
Subject: Re: hadoop 1.0.3 config exception
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
First delete the hdfs directory name directory and data directory. then
Chown the folder of the Hadoop folder
Give chmod 755 to the Hadoop folder and then retry formatting the filesystem
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 7:44 PM
To: user@hadoop.apache.org; bejoy.hadoop@gmail.com
Subject: Re: hadoop 1.0.3 config exception
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
[image: Inline image 1]
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
[image: Inline image 1]
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
[image: Inline image 1]
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi,
i am trying to format the namenode .it keeps giving the same error.
please find the error. you can see the formatting error
it happens even after recreating directory and giving permissions.
[image: Inline image 1]
Re: hadoop 1.0.3 config exception
Posted by Bejoy KS <be...@gmail.com>.
Rahul,
Please start a new thread for your queries. That would keep the mail archives neat and clean. Also share more details like logs to help you better.
Regards
Bejoy KS
Sent from handheld, please excuse typos.
-----Original Message-----
From: rahul p <ra...@gmail.com>
Date: Sat, 18 Aug 2012 19:37:04
To: <us...@hadoop.apache.org>
Reply-To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
RE: hadoop 1.0.3 config exception
Posted by Shashwat Shriparv <dw...@gmail.com>.
What is your host file configuration the problem related to namenode is
almost always due to the host configuration.
From: rahul p [mailto:rahulpoolanchalil@gmail.com]
Sent: Saturday, August 18, 2012 5:07 PM
To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <bencuthbert@ymail.com
<ma...@ymail.com> > wrote:
All
We are getting the following show in when we talk to hadoop 1.0.3
Seems it relates to these lines in Configuration.java
public
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d> Configuration(boolean
loadDefaults) {
225 this.loadDefaults = loadDefaults;
226 if (LOG.isDebugEnabled()) {
227 LOG.debug(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html> StringUtils.
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_
1StringUtils.html#afe40f66d95f868187f9ba38c0a107486> stringifyException(new
IOException("config()")));
228 }
229 synchronized(
<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_
1Configuration.html> Configuration.class) {
230 REGISTRY.put(this, null);
231 }
232 this.storeResource = false;
233 }
Why is this here?
2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
java.io.IOException: config()
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
at
org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
at java.lang.Thread.run(Thread.java:680)
Re: hadoop 1.0.3 config exception
Posted by Bejoy KS <be...@gmail.com>.
Rahul,
Please start a new thread for your queries. That would keep the mail archives neat and clean. Also share more details like logs to help you better.
Regards
Bejoy KS
Sent from handheld, please excuse typos.
-----Original Message-----
From: rahul p <ra...@gmail.com>
Date: Sat, 18 Aug 2012 19:37:04
To: <us...@hadoop.apache.org>
Reply-To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Ben Cuthbert <be...@ymail.com>.
Rahul
Not sure I can help you as this seems to be inside the Configuration.java class. Are you sure you are getting this error and it is not some other error?
This should not stop you bringing up your service.
On 18 Aug 2012, at 12:37, rahul p <ra...@gmail.com> wrote:
> Hi Ben,
> Can you help me resolve this issue.
> i am new to hadoop and java.
> i facing issue in bringing up my NameNode.
>
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG - org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)] java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Ben Cuthbert <be...@ymail.com>.
Rahul
Not sure I can help you as this seems to be inside the Configuration.java class. Are you sure you are getting this error and it is not some other error?
This should not stop you bringing up your service.
On 18 Aug 2012, at 12:37, rahul p <ra...@gmail.com> wrote:
> Hi Ben,
> Can you help me resolve this issue.
> i am new to hadoop and java.
> i facing issue in bringing up my NameNode.
>
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG - org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)] java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Ben Cuthbert <be...@ymail.com>.
Rahul
Not sure I can help you as this seems to be inside the Configuration.java class. Are you sure you are getting this error and it is not some other error?
This should not stop you bringing up your service.
On 18 Aug 2012, at 12:37, rahul p <ra...@gmail.com> wrote:
> Hi Ben,
> Can you help me resolve this issue.
> i am new to hadoop and java.
> i facing issue in bringing up my NameNode.
>
>
> On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG - org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)] java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Bejoy KS <be...@gmail.com>.
Rahul,
Please start a new thread for your queries. That would keep the mail archives neat and clean. Also share more details like logs to help you better.
Regards
Bejoy KS
Sent from handheld, please excuse typos.
-----Original Message-----
From: rahul p <ra...@gmail.com>
Date: Sat, 18 Aug 2012 19:37:04
To: <us...@hadoop.apache.org>
Reply-To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Bejoy KS <be...@gmail.com>.
Rahul,
Please start a new thread for your queries. That would keep the mail archives neat and clean. Also share more details like logs to help you better.
Regards
Bejoy KS
Sent from handheld, please excuse typos.
-----Original Message-----
From: rahul p <ra...@gmail.com>
Date: Sat, 18 Aug 2012 19:37:04
To: <us...@hadoop.apache.org>
Reply-To: user@hadoop.apache.org
Subject: Re: hadoop 1.0.3 config exception
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Harsh J <ha...@cloudera.com>.
It exists to check which classes have instantiated the Configuration
class (the stack trace helps). It is a DEBUG level log, and can be
ignored.
On Fri, Aug 17, 2012 at 9:29 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
--
Harsh J
Re: hadoop 1.0.3 config exception
Posted by Harsh J <ha...@cloudera.com>.
It exists to check which classes have instantiated the Configuration
class (the stack trace helps). It is a DEBUG level log, and can be
ignored.
On Fri, Aug 17, 2012 at 9:29 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
--
Harsh J
Re: hadoop 1.0.3 config exception
Posted by Harsh J <ha...@cloudera.com>.
It exists to check which classes have instantiated the Configuration
class (the stack trace helps). It is a DEBUG level log, and can be
ignored.
On Fri, Aug 17, 2012 at 9:29 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
--
Harsh J
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by Harsh J <ha...@cloudera.com>.
It exists to check which classes have instantiated the Configuration
class (the stack trace helps). It is a DEBUG level log, and can be
ignored.
On Fri, Aug 17, 2012 at 9:29 PM, Ben Cuthbert <be...@ymail.com> wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration(boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils.stringifyException(new IOException("config()")));
> 228 }
> 229 synchronized(Configuration.class) {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
--
Harsh J
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>
Re: hadoop 1.0.3 config exception
Posted by rahul p <ra...@gmail.com>.
Hi Ben,
Can you help me resolve this issue.
i am new to hadoop and java.
i facing issue in bringing up my NameNode.
On Fri, Aug 17, 2012 at 11:59 PM, Ben Cuthbert <be...@ymail.com>wrote:
> All
>
> We are getting the following show in when we talk to hadoop 1.0.3
>
> Seems it relates to these lines in Configuration.java
>
> public Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html#a2bf70fe686e6ab0cfd90cde27a6e3b1d>
> (boolean loadDefaults) {
> 225 this.loadDefaults = loadDefaults;
> 226 if (LOG.isDebugEnabled()) {
> 227 LOG.debug(StringUtils<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html>
> .stringifyException<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1util_1_1StringUtils.html#afe40f66d95f868187f9ba38c0a107486>
> (new IOException("config()")));
> 228 }
> 229 synchronized(Configuration<http://fossies.org/dox/hadoop-1.0.3/classorg_1_1apache_1_1hadoop_1_1conf_1_1Configuration.html>.class)
> {
> 230 REGISTRY.put(this, null);
> 231 }
> 232 this.storeResource = false;
> 233 }
>
>
> Why is this here?
>
>
> 2012-08-17 16:53:11,133 (hdfs-hdfs-sink-call-runner-4) [DEBUG -
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)]
> java.io.IOException: config()
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:227)
> at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:214)
> at org.apache.flume.sink.hdfs.BucketWriter.doOpen(BucketWriter.java:170)
> at org.apache.flume.sink.hdfs.BucketWriter.access$000(BucketWriter.java:48)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:155)
> at org.apache.flume.sink.hdfs.BucketWriter$1.run(BucketWriter.java:152)
> at
> org.apache.flume.sink.hdfs.BucketWriter.runPrivileged(BucketWriter.java:125)
> at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:152)
> at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:307)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:717)
> at org.apache.flume.sink.hdfs.HDFSEventSink$1.call(HDFSEventSink.java:714)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
>