hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: hadoop 1.0.3 config exception
Date Fri, 17 Aug 2012 16:00:41 GMT
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 <bencuthbert@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

Mime
View raw message