sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dapeng Sun (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SENTRY-361) Sentry server should use sentry-site.xml in conf directory by default
Date Mon, 04 Aug 2014 07:18:12 GMT

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

Dapeng Sun edited comment on SENTRY-361 at 8/4/14 7:17 AM:
-----------------------------------------------------------

Hi Sravya,
Thank you very much for review the jira, I updated the patch according the latest master and
I tested it in my environment(centos-6.3). could you provide your command?
{noformat}
[sundp@sdp-dev apache-sentry-1.5.0-incubating-SNAPSHOT-bin]$  ./bin/sentry --command service
-c /opt/sentry-site.xml 
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/hadoop-2.4.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/hive-0.12.0-cdh5.1.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
14/08/04 14:56:33 INFO thrift.SentryService: Configured on address /0.0.0.0:8038
14/08/04 14:56:33 INFO thrift.SentryService: Attempting to start...
14/08/04 14:56:33 INFO thrift.SentryService: Waiting on future.get()
14/08/04 14:56:34 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown
- will be ignored
14/08/04 14:56:34 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 14:56:35 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 14:56:35 INFO thrift.SentryService: Serving on /0.0.0.0:8038
{noformat}

and 

{noformat}
[sundp@sdp-dev apache-sentry-1.5.0-incubating-SNAPSHOT-bin]$  ./bin/sentry --command service
Using config file /opt/apache-sentry-1.5.0-incubating-SNAPSHOT-bin/conf/sentry-site.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/hadoop-2.4.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/hive-0.12.0-cdh5.1.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
14/08/04 15:00:15 INFO thrift.SentryService: Configured on address /0.0.0.0:8038
14/08/04 15:00:15 INFO thrift.SentryService: Attempting to start...
14/08/04 15:00:15 INFO thrift.SentryService: Waiting on future.get()
14/08/04 15:00:15 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown
- will be ignored
14/08/04 15:00:15 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 15:00:16 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 15:00:16 INFO thrift.SentryService: Serving on /0.0.0.0:8038
{noformat}


was (Author: dapengsun):
Hi Sravya,
I updated the patch according the latest master and I tested it in my environment(centos-6.3).
could you provide your command
{noformat}
[sundp@sdp-dev apache-sentry-1.5.0-incubating-SNAPSHOT-bin]$  ./bin/sentry --command service
-c /opt/sentry-site.xml 
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/hadoop-2.4.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/hive-0.12.0-cdh5.1.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
14/08/04 14:56:33 INFO thrift.SentryService: Configured on address /0.0.0.0:8038
14/08/04 14:56:33 INFO thrift.SentryService: Attempting to start...
14/08/04 14:56:33 INFO thrift.SentryService: Waiting on future.get()
14/08/04 14:56:34 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown
- will be ignored
14/08/04 14:56:34 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 14:56:35 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 14:56:35 INFO thrift.SentryService: Serving on /0.0.0.0:8038
{noformat}

and 

{noformat}
[sundp@sdp-dev apache-sentry-1.5.0-incubating-SNAPSHOT-bin]$  ./bin/sentry --command service
Using config file /opt/apache-sentry-1.5.0-incubating-SNAPSHOT-bin/conf/sentry-site.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/hadoop-2.4.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/hive-0.12.0-cdh5.1.0-SNAPSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
14/08/04 15:00:15 INFO thrift.SentryService: Configured on address /0.0.0.0:8038
14/08/04 15:00:15 INFO thrift.SentryService: Attempting to start...
14/08/04 15:00:15 INFO thrift.SentryService: Waiting on future.get()
14/08/04 15:00:15 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown
- will be ignored
14/08/04 15:00:15 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 15:00:16 WARN bonecp.BoneCPConfig: Max Connections < 1. Setting to 20
14/08/04 15:00:16 INFO thrift.SentryService: Serving on /0.0.0.0:8038
{noformat}

> Sentry server should use sentry-site.xml in conf directory by default
> ---------------------------------------------------------------------
>
>                 Key: SENTRY-361
>                 URL: https://issues.apache.org/jira/browse/SENTRY-361
>             Project: Sentry
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>             Fix For: 1.4.0
>
>         Attachments: SENTRY-361.patch, SENTRY-361_002.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message