[
https://issues.apache.org/jira/browse/KYLIN-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593218#comment-16593218
]
ASF GitHub Bot commented on KYLIN-3510:
---------------------------------------
shaofengshi closed pull request #209: KYLIN-3510 Correct sqoopHome at
'createSqoopToFlatHiveStep'
URL: https://github.com/apache/kylin/pull/209
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/source-hive/src/main/java/org/apache/kylin/source/jdbc/JdbcHiveMRInput.java
b/source-hive/src/main/java/org/apache/kylin/source/jdbc/JdbcHiveMRInput.java
index b8bc56faaf..284aac5697 100644
---
a/source-hive/src/main/java/org/apache/kylin/source/jdbc/JdbcHiveMRInput.java
+++
b/source-hive/src/main/java/org/apache/kylin/source/jdbc/JdbcHiveMRInput.java
@@ -184,7 +184,7 @@ private AbstractExecutable createSqoopToFlatHiveStep(String
jobWorkingDir, Strin
}
}
- String cmd = String.format("%s/sqoop import" +
generateSqoopConfigArgString()
+ String cmd = String.format("%s/bin/sqoop import" +
generateSqoopConfigArgString()
+ "--connect \"%s\" --driver %s --username %s --password
%s --query \"%s AND \\$CONDITIONS\" "
+ "--target-dir %s/%s --split-by %s --boundary-query
\"%s\" --null-string '' "
+ "--fields-terminated-by '%s' --num-mappers %d",
sqoopHome, connectionUrl, driverClass, jdbcUser,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Correct sqoopHome at 'createSqoopToFlatHiveStep'
> ------------------------------------------------
>
> Key: KYLIN-3510
> URL: https://issues.apache.org/jira/browse/KYLIN-3510
> Project: Kylin
> Issue Type: Improvement
> Components: RDBMS Source
> Reporter: Shaoxiong Zhan
> Assignee: Shaoxiong Zhan
> Priority: Minor
> Fix For: v2.5.0
>
>
> Now sqoop home we used must end with '/bin' , which is not appropriate. It
> should be like "*/sqoop-client"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)