hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11762) [SPS] : Empty files should be ignored in StoragePolicySatisfier.
Date Mon, 05 Jun 2017 07:09:04 GMT

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

Rakesh R updated HDFS-11762:
----------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thanks [~surendrasingh] for the contribution, committed to branch.
Thanks [~umamaheswararao] for the reviews.

> [SPS] : Empty files should be ignored in StoragePolicySatisfier. 
> -----------------------------------------------------------------
>
>                 Key: HDFS-11762
>                 URL: https://issues.apache.org/jira/browse/HDFS-11762
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: HDFS-10285
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HDFS-11762-HDFS-10285.001.patch, HDFS-11762-HDFS-10285.002.patch,
HDFS-11762-HDFS-10285.003.patch, HDFS-11762-HDFS-10285.004.patch
>
>
> File which has zero block should be ignored in SPS. Currently it is throwing NPE in StoragePolicySatisfier
thread.
> {noformat}
> 2017-05-06 23:29:04,735 [StoragePolicySatisfier] ERROR namenode.StoragePolicySatisfier
(StoragePolicySatisfier.java:run(278)) - StoragePolicySatisfier thread received runtime exception.
Stopping Storage policy satisfier work
> java.lang.NullPointerException
> 	at org.apache.hadoop.hdfs.server.namenode.StoragePolicySatisfier.analyseBlocksStorageMovementsAndAssignToDN(StoragePolicySatisfier.java:292)
> 	at org.apache.hadoop.hdfs.server.namenode.StoragePolicySatisfier.run(StoragePolicySatisfier.java:233)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message