hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14366) NPE in case visibility expression is not present in labels table during importtsv run
Date Tue, 20 Oct 2015 13:04:27 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965064#comment-14965064
] 

Hudson commented on HBASE-14366:
--------------------------------

FAILURE: Integrated in HBase-1.1 #715 (See [https://builds.apache.org/job/HBase-1.1/715/])
HBASE-14366 NPE in case visibility expression is not present in labels (anoopsamjohn: rev
a631598b2970f2d5f5c48a85a9f56f86a30a620f)
* hbase-client/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityConstants.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TsvImporterMapper.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TextSortReducer.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTSVWithVisibilityLabels.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/DefaultVisibilityExpressionResolver.java


> NPE in case visibility expression is not present in labels table during importtsv run
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-14366
>                 URL: https://issues.apache.org/jira/browse/HBASE-14366
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Bhupendra Kumar Jain
>            Priority: Minor
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16
>
>         Attachments: 0001-HBASE-14366.patch, 0001-HBASE-14366_1.patch, HBASE-14366-0.98.patch,
HBASE-14366-branch-1.1.patch, HBASE-14366-branch-1.1_v1.patch, HBASE-14366-branch-1.2.patch,
HBASE-14366-branch-1.2_v1.patch, HBASE-14366-branch-1.patch, HBASE-14366_2(1).patch, HBASE-14366_2.patch
>
>
> Below exception is shown in logs if visibility expression is not present in labels table
during importtsv run. Appropriate exception / message should be logged for the user to take
further action.
> {code}
> WARN [main] org.apache.hadoop.mapred.YarnChild: Exception running child : java.lang.NullPointerException
>         at org.apache.hadoop.hbase.mapreduce.DefaultVisibilityExpressionResolver$1.getLabelOrdinal(DefaultVisibilityExpressionResolver.java:127)
>         at org.apache.hadoop.hbase.security.visibility.VisibilityUtils.getLabelOrdinals(VisibilityUtils.java:358)
>         at org.apache.hadoop.hbase.security.visibility.VisibilityUtils.createVisibilityExpTags(VisibilityUtils.java:323)
>         at org.apache.hadoop.hbase.mapreduce.DefaultVisibilityExpressionResolver.createVisibilityExpTags(DefaultVisibilityExpressionResolver.java:137)
>         at org.apache.hadoop.hbase.mapreduce.TsvImporterMapper.populatePut(TsvImporterMapper.java:205)
>         at org.apache.hadoop.hbase.mapreduce.TsvImporterMapper.map(TsvImporterMapper.java:165)
>         at org.apache.hadoop.hbase.mapreduce.TsvImporterMapper.map(TsvImporterMapper.java:1)
>         at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message