Github user coderfi commented on the pull request:

    https://github.com/apache/spark/pull/2685#issuecomment-61417156
  
    In /pom.xml
    
        <properties>
            <hive.version>0.13.1a</hive.version>
        </properties>
        ...
        <profile>
          <id>hive-0.13.1</id>
          ...
          <properties>
            <hive.version>0.13.1</hive.version>
            ...
          </properties>
        </profile>
    
    The 'hive-0.13.1' is overriding the hive.version back to the regular 
'hive-0.13.1' version, instead of referencing 'hive-0.13.1a'.
    
    It seems `mvn -Phive` would get me a build with hive-0.13a containing this 
pull's patches.
    
    However, I was building with `mvn -Phive -Phive-0.13.1`, so I ran into the 
'NoClassDefFoundError ... InstantiatorStrategy' issue.
    Omitting the 'hive-0.13.1' profile got me past the issue (since the pom 
defaults effectively gives me hive 0.13(a) anyway, which is what I want).
    
    



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to