You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/03/17 23:46:47 UTC

[jira] [Created] (PHOENIX-865) Bump utility logging level from INFO to WARN because of too much logging info

Jeffrey Zhong created PHOENIX-865:
-------------------------------------

             Summary: Bump utility logging level from INFO to WARN because of too much logging info
                 Key: PHOENIX-865
                 URL: https://issues.apache.org/jira/browse/PHOENIX-865
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 3.0.0, 4.0.0, 5.0.0
            Reporter: Jeffrey Zhong
            Priority: Trivial


When using utility scripts: it prints out too much info such as following:

{code}
14/03/17 15:42:25 INFO Configuration.deprecation: dfs.df.interval is deprecated. Instead, use fs.df.interval
14/03/17 15:42:25 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
14/03/17 15:42:25 INFO Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS
14/03/17 15:42:25 INFO Configuration.deprecation: topology.script.number.args is deprecated. Instead, use net.topology.script.number.args
14/03/17 15:42:25 INFO Configuration.deprecation: dfs.umaskmode is deprecated. Instead, use fs.permissions.umask-mode
14/03/17 15:42:25 INFO Configuration.deprecation: topology.node.switch.mapping.impl is deprecated. Instead, use net.topology.node.switch.mapping.impl
2014-03-17 15:42:26.299 java[3847:1203] Unable to load realm info from SCDynamicStore
14/03/17 15:42:26 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
...

OR

14/03/17 13:25:27 INFO query.ConnectionQueryServicesImpl: Table CREATE TABLE IF NOT EXISTS SYSTEM."SEQUENCE"(
TENANT_ID VARCHAR NULL,SEQUENCE_SCHEMA VARCHAR NULL,
SEQUENCE_NAME VARCHAR NOT NULL,
START_WITH BIGINT NOT NULL,
CURRENT_VALUE BIGINT NOT NULL,
INCREMENT_BY BIGINT NOT NULL,
CACHE_SIZE BIGINT NOT NULL
 CONSTRAINT pk PRIMARY KEY (TENANT_ID,SEQUENCE_SCHEMA,SEQUENCE_NAME))
VERSIONS=1000
 already exists. Got NewerTableAlreadyExistsException
org.apache.phoenix.schema.NewerTableAlreadyExistsException: ERROR 1013 (42M04): Table already exists. tableName=SYSTEM.SEQUENCE
     at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1148)
     at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:410)
     at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:174)
     at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:226)
     at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:908)
     at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1390)
     at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:117)
     at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:112)
     at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4650)
     at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4701)
     at sqlline.SqlLine$Commands.connect(SqlLine.java:3942)
     at sqlline.SqlLine$Commands.connect(SqlLine.java:3851)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     at sqlline.SqlLine$ReflectiveCommandHandler.execute(SqlLine.java:2810)
     at sqlline.SqlLine.dispatch(SqlLine.java:817)
     at sqlline.SqlLine.initArgs(SqlLine.java:633)
     at sqlline.SqlLine.begin(SqlLine.java:680)
     at sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:441)
     at sqlline.SqlLine.main(SqlLine.java:424)
{code}



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