ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11573) Add SecureBulkLoadEndpoint to hbase.coprocessor.region.classes even for un secure hbase cluster
Date Mon, 01 Jun 2015 14:49:17 GMT

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

Sumit Mohanty commented on AMBARI-11573:
----------------------------------------

[~tedyu@apache.org], the test fails on my machine after the latest patch ....

{code}
Failed tests:
FAIL: test_recommendHbaseSiteConfigurations (test_stack_advisor.TestHDP22StackAdvisor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py",
line 1816, in test_recommendHbaseSiteConfigurations
    self.assertEquals(configurations, expected)
AssertionError: {'hbase-site': {'properties': {'hbase.regionserver.wal.codec': 'org.apache.hadoo
[truncated]... != {'hbase-site': {'properties': {'hbase.regionserver.wal.codec': 'org.apache.hadoo
[truncated]...
  {'hbase-env': {'properties': {'hbase_master_heapsize': '8192',
                                'hbase_max_direct_memory_size': '',
                                'hbase_regionserver_heapsize': '8192'}},
   'hbase-site': {'properties': {'hbase.bucketcache.ioengine': '',
                                 'hbase.bucketcache.percentage.in.combinedcache': '',
                                 'hbase.bucketcache.size': '',
-                                'hbase.coprocessor.region.classes': 'org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint',
+                                'hbase.coprocessor.regionserver.classes': 'org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint',
?                                                         ++++++

                                 'hbase.region.server.rpc.scheduler.factory.class': 'org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory',
                                 'hbase.regionserver.global.memstore.size': '0.4',
                                 'hbase.regionserver.wal.codec': 'org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec',
                                 'hbase.rpc.controllerfactory.class': 'org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory',
-                                'phoenix.functions.allowUserDefinedFunctions': 'true'},
?                                                                                      ^

+                                'phoenix.functions.allowUserDefinedFunctions': 'true'}}}
?                                                                                      ^^

-                 'property_attributes': {'hbase.coprocessor.regionserver.classes': {'delete':
'true'}}}}
{code}

> Add SecureBulkLoadEndpoint to hbase.coprocessor.region.classes even for un secure hbase
cluster
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11573
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11573
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Ted Yu
>         Attachments: ambari-11573-v1.patch, ambari-11573-v2.patch, ambari-11573.addendum,
ambari-11573.addendum2, ambari-11573.addendum3
>
>
> After HBASE-12052 org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint 
> need to be added for hbase.coprocessor.region.classes configuration 
> even for unsecure hbase cluster to avoid Permission denied error when loading hfiles
by the user with which hbase region server not started.



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

Mime
View raw message