Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/11040#issuecomment-179028394
  
    Found 3 interesting log lines:
    
    ```
    16/02/02 18:38:00 INFO ParseDriver: Parsing command: ADD JAR 
file:///home/jenkins/workspace/SparkPullRequestBuilder@2/sql/hive-thriftserver/../hive/src/test/resources/TestUDTF.jar
    ...
    16/02/02 18:38:00 DEBUG HiveClientImpl: Running hiveql 'ADD JAR 
file:///home/jenkins/workspace/SparkPullRequestBuilder2/sql/hive-thriftserver/../hive/src/test/resources/TestUDTF.jar'
    ...
    16/02/02 18:38:00 ERROR SessionState: 
file:///home/jenkins/workspace/SparkPullRequestBuilder2/sql/hive-thriftserver/../hive/src/test/resources/TestUDTF.jar
 does not exist
    ```
    
    Please notice that the first log line has `SparkPullRequestBuilder@2` in 
the file path while the 2nd and 3rd ones have `SparkPullRequestBuilder2` Seems 
that the HiveQL parser somehow drops the `@` character, and then causes 
execution failure of the `ADD JAR` command.
    
    One possible workaround is to first copy the jar file to a temporary 
location whose path doesn't have any interesting characters and then execute 
`ADD JAR` using that path.
    
    cc @davies


---
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