hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupendra Kumar Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14365) Error scanning 'labels' table in logs with exception while running bulkload, even visibility feature is disabled
Date Mon, 14 Sep 2015 10:02:46 GMT

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

Bhupendra Kumar Jain commented on HBASE-14365:
----------------------------------------------

If visibility label feature is not enable but data contains the visibility expression, then
during bulk load the expression resolution will be failed and that data will not be loaded.
So there will be no security issue. 

After committing [HBASE-14366] this scenario will be counted as bad line too. 

> Error scanning 'labels' table in logs with exception while running bulkload, even visibility
feature is disabled
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14365
>                 URL: https://issues.apache.org/jira/browse/HBASE-14365
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Bhupendra Kumar Jain
>            Priority: Minor
>         Attachments: 0001-HBASE-14365.patch
>
>
> If visibility feature is disabled, Below exception in logs during importtsv run. In case
feature is disabled, No need to log the below as error. Its is bit misleading for the user.
> {code}
> ERROR [main] org.apache.hadoop.hbase.mapreduce.DefaultVisibilityExpressionResolver: Error
scanning 'labels' table
> org.apache.hadoop.hbase.TableNotFoundException: hbase:labels
>         at org.apache.hadoop.hbase.client.ConnectionImplementation.locateRegionInMeta(ConnectionImplementation.java:858)
>         at org.apache.hadoop.hbase.client.ConnectionImplementation.locateRegion(ConnectionImplementation.java:756)
>         at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:298)
>         at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:151)
>         at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:1)
>         at org.apache.hadoop.hbase.client.RpcRetryingCallerImpl.callWithoutRetries(RpcRetryingCallerImpl.java:184)
>         at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:311)
>         at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:286)
>         at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:162)
>         at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:155)
>         at org.apache.hadoop.hbase.client.ClientSimpleScanner.<init>(ClientSimpleScanner.java:42)
>         at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:381)
> {code}



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

Mime
View raw message