phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Chistyakov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4426) Phoenix Tracing Web Application does not detect resources location when it's packed in a JAR file
Date Fri, 01 Dec 2017 15:02:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Chistyakov updated PHOENIX-4426:
-------------------------------------
    Environment:     (was: ```
2017-12-01 09:34:08.359597 launching /usr/lib/jvm/java-8-oracle/bin/java -cp /etc/hbase/conf:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/../phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/../phoenix-4.13.0-HBase-1.3-client.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-queryserver.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-hive.jar
-Dproc_phoenixtraceserver -Dlog4j.configuration=file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/log4j.properties
-Dpsql.root.logger=INFO,DRFA -Dpsql.log.dir=/tmp/phoenix -Dpsql.log.file=phoenix-hadoop-traceserver.log
 org.apache.phoenix.tracingwebapp.http.Main
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-hive.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
0 [main] INFO org.eclipse.jetty.server.Server  - jetty-8.y.z-SNAPSHOT
130 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.w.WebAppContext{/,file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jarsrc/main/webapp}
130 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.w.WebAppContext{/,file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jarsrc/main/webapp}
```
Observe the last two lines of log output.
The proposed fix is: https://github.com/alexclear/phoenix/commit/203f8a4a8f4b0a77650f4f5a3a327181c5cef1a5)
    Description: 
```
2017-12-01 09:34:08.359597 launching /usr/lib/jvm/java-8-oracle/bin/java -cp /etc/hbase/conf:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/../phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/../phoenix-4.13.0-HBase-1.3-client.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-queryserver.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-hive.jar
-Dproc_phoenixtraceserver -Dlog4j.configuration=file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/log4j.properties
-Dpsql.root.logger=INFO,DRFA -Dpsql.log.dir=/tmp/phoenix -Dpsql.log.file=phoenix-hadoop-traceserver.log
 org.apache.phoenix.tracingwebapp.http.Main
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-hive.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
0 [main] INFO org.eclipse.jetty.server.Server  - jetty-8.y.z-SNAPSHOT
130 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.w.WebAppContext{/,file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jarsrc/main/webapp}
130 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.w.WebAppContext{/,file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jarsrc/main/webapp}
```
Observe the last two lines of log output.
The proposed fix is: https://github.com/alexclear/phoenix/commit/203f8a4a8f4b0a77650f4f5a3a327181c5cef1a5

> Phoenix Tracing Web Application does not detect resources location when it's packed in
a JAR file
> -------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4426
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4426
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.13.0
>            Reporter: Alex Chistyakov
>
> ```
> 2017-12-01 09:34:08.359597 launching /usr/lib/jvm/java-8-oracle/bin/java -cp /etc/hbase/conf:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/../phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/../phoenix-4.13.0-HBase-1.3-client.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-queryserver.jar:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-hive.jar
-Dproc_phoenixtraceserver -Dlog4j.configuration=file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/bin/log4j.properties
-Dpsql.root.logger=INFO,DRFA -Dpsql.log.dir=/tmp/phoenix -Dpsql.log.file=phoenix-hadoop-traceserver.log
 org.apache.phoenix.tracingwebapp.http.Main
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-4.13.0-HBase-1.3-hive.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> 0 [main] INFO org.eclipse.jetty.server.Server  - jetty-8.y.z-SNAPSHOT
> 130 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.w.WebAppContext{/,file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jarsrc/main/webapp}
> 130 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.w.WebAppContext{/,file:/opt/phoenix/apache-phoenix-4.13.0-HBase-1.3-bin/phoenix-tracing-webapp-4.13.0-HBase-1.3-runnable.jarsrc/main/webapp}
> ```
> Observe the last two lines of log output.
> The proposed fix is: https://github.com/alexclear/phoenix/commit/203f8a4a8f4b0a77650f4f5a3a327181c5cef1a5



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message