chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-328) NPE for empty chukwarecord sequence file
Date Tue, 23 Jun 2009 20:02:07 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated CHUKWA-328:
-----------------------------

        Fix Version/s: 0.3.0
                       0.2.0
    Affects Version/s: 0.2.0
               Status: Patch Available  (was: Open)

+1 Looks good.

> NPE for empty chukwarecord sequence file
> ----------------------------------------
>
>                 Key: CHUKWA-328
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-328
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Cheng
>            Assignee: Cheng
>             Fix For: 0.2.0, 0.3.0
>
>         Attachments: chukwa-328.patch
>
>
> 2009-06-23 17:21:44,307 ERROR main MetricDataLoaderPool - java.util.concurrent.ExecutionException:
java.lang.NullPointerException
>         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>         at org.apache.hadoop.chukwa.dataloader.MetricDataLoaderPool.load(MetricDataLoaderPool.java:49)
>         at org.apache.hadoop.chukwa.extraction.demux.PostProcessorManager.processDemuxPigOutput(PostProcessorManager.java:188)
>         at org.apache.hadoop.chukwa.extraction.demux.PostProcessorManager.start(PostProcessorManager.java:145)
>         at org.apache.hadoop.chukwa.extraction.demux.PostProcessorManager.main(PostProcessorManager.java:80)
> Caused by: java.lang.NullPointerException
>         at org.apache.hadoop.chukwa.extraction.engine.ChukwaRecord.getValue(ChukwaRecord.java:46)
>         at org.apache.hadoop.chukwa.extraction.engine.RecordUtil.getClusterName(RecordUtil.java:14)
>         at org.apache.hadoop.chukwa.dataloader.MetricDataLoader.run(MetricDataLoader.java:518)
>         at org.apache.hadoop.chukwa.dataloader.MetricDataLoader.call(MetricDataLoader.java:567)
>         at org.apache.hadoop.chukwa.dataloader.MetricDataLoader.call(MetricDataLoader.java:50)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         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:885)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)
> The root cause is that we should not use the ChukwaRecord if there is no record in the
file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message