Github user mridulm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17723#discussion_r114038193
  
    --- Diff: core/pom.xml ---
    @@ -357,6 +357,34 @@
           <groupId>org.apache.commons</groupId>
           <artifactId>commons-crypto</artifactId>
         </dependency>
    +
    +    <!--
    +     Testing Hive reflection needs hive on the test classpath only.
    +     It doesn't need the spark hive modules, so the -Phive flag is not 
checked.
    +      -->
    +    <dependency>
    +      <groupId>${hive.group}</groupId>
    +      <artifactId>hive-exec</artifactId>
    +    </dependency>
    +    <dependency>
    +      <groupId>${hive.group}</groupId>
    +      <artifactId>hive-metastore</artifactId>
    +    </dependency>
    +    <dependency>
    +      <groupId>org.apache.thrift</groupId>
    +      <artifactId>libthrift</artifactId>
    +      <scope>test</scope>
    +    </dependency>
    +    <dependency>
    +      <groupId>org.apache.thrift</groupId>
    +      <artifactId>libfb303</artifactId>
    +      <scope>test</scope>
    +    </dependency>
    +
    +    <dependency>
    +      <groupId>org.apache.hadoop</groupId>
    +      <artifactId>hadoop-yarn-api</artifactId>
    --- End diff --
    
    The reason why I had introduced `SparkHadoopUtil` a while back was to 
prevent `core` from depending on `yarn` - ofcourse we also had to support 
hadoop 1.x at that time in addition to standalone, mesos, etc.
    
    I would expect `core` should still not depend on `yarn` - did anything 
change in this regard ?
    This dependency might bring in unnecessary restrictions in evolution of non 
yarn schedulers (through dependencies, etc).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to