You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/30 02:57:19 UTC

[GitHub] [spark] HeartSaVioR edited a comment on issue #27042: [SPARK-30382] start-thriftserver --help throws ClassNotFoundException

HeartSaVioR edited a comment on issue #27042: [SPARK-30382] start-thriftserver --help throws ClassNotFoundException
URL: https://github.com/apache/spark/pull/27042#issuecomment-569568378
 
 
   Looks like the problem is that Hive doesn't only leverage slf4j, but also leverages Log4j"2" API to programmatically configuring Log4j via configured in Hive conf. If I understand correctly, Spark uses Log4j 1, and that is also applied to hive-thriftserver module (since it should run with Spark dependencies). 
   
   We also seem to exclude everything for log4j2 as it conflicts with log4j 1:
   
   ```
             <!-- org.apache.logging.log4j:* conflict with log4j 1.2.17 -->
             <exclusion>
               <groupId>org.apache.logging.log4j</groupId>
               <artifactId>*</artifactId>
             </exclusion>
   ```
   
   so the code may need to be removed if it requires log4j2 either directly or indirectly (transitive dependency).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org