New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KYLIN-3698 some enhancement for check-env.sh #1222
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1222 +/- ##
============================================
- Coverage 24.85% 24.84% -0.01%
+ Complexity 6266 6264 -2
============================================
Files 1453 1453
Lines 89225 89225
Branches 12456 12456
============================================
- Hits 22175 22171 -4
- Misses 64874 64876 +2
- Partials 2176 2178 +2
Continue to review full report at Codecov.
|
Pull Request Test Coverage Report for Build 5921
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -40,16 +40,10 @@ function retrieveDependency() { | |||
source ${dir}/cached-hive-dependency.sh | |||
source ${dir}/cached-hbase-dependency.sh | |||
source ${dir}/cached-hadoop-conf-dir.sh | |||
source ${dir}/cached-kafka-dependency.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should remove these lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because these three checks are put in check-env.sh, there is no need to check them again here.
But now it is found that some tool commands, such as bin/kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer
, require Kafka's dependency. However, the check-env.sh is not executed when using this command, which makes it unable to load Kafka's dependency.
This is my negligence. It should not be removed here.
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.document
branchFurther comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...