[
https://issues.apache.org/jira/browse/KYLIN-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254794#comment-17254794
]
ASF GitHub Bot commented on KYLIN-4847:
---------------------------------------
zhangayqian opened a new pull request #1522:
URL: https://github.com/apache/kylin/pull/1522
## 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 apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)
## Checklist
_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._
- [ ] I have create an issue on [Kylin's
jira](https://issues.apache.org/jira/browse/KYLIN), and have described the
bug/feature there in detail
- [ ] Commit messages in my PR start with the related jira ID, like
"KYLIN-0000 Make Kylin project open-source"
- [ ] Compiling and unit tests pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my feature
works
- [ ] If this change need a document change, I will prepare another pr
against the `document` branch
- [ ] Any dependent changes have been merged
## Further 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...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Cuboid to HFile step failed on multiple job server env because of trying to
> read the metric jar file from the inactive job server's location.
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-4847
> URL: https://issues.apache.org/jira/browse/KYLIN-4847
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v3.1.0
> Reporter: yoonsung.lee
> Priority: Major
>
> h1. My Cluster Setting
> 1. versIon: 3.1.0
> 2. 2 job servers(job & query mode), 2 query only servers. Each of them runs
> on each different host machine.
> 3. Use spark engine to build job.
> h1. Problem Circumstance
> h2. Root cause
> The active job server submits spark job to execute `Convert Cuboid Data to
> HFile`. But the active job server get an error because a resource for
> submitting spark job has the wrong path which the active job server cannot
> read.
> * wrong resource:
> ${KYLIN_HOME}/tomcat/webapps/kylin/WEB-INF/lib/metrics-core-2.2.0.jar
> * The ${KYLIN_HOME} is the inactive job server's location for only the above
> jar file.
> This situation occurs in the following two circumstances.
> h2. On build cube
> 1. Request the build API to the inactive job server. (exactly:
> /kylin/api/cubes/${cube_name}/rebuild )
> 2. Inactive job server stores the build task in meta store.
> 3. Active job server takes the build task and proceeds it.
> 4. Active job server failed on the `Convert Cuboid Data to HFile` step.
> **This doesn't occur when I request build API to the active job server.**
> h2. On merge
> 1. Trigger merge cube job periodically
> 2. Active job server takes the merge task and proceeds it.
> 3. Active job server failed on the `Convert Cuboid Data to HFile` step.
> **This doesn't occur when there is only one job server in the cluster.**
> h1. Progress to solve this.
> I'm trying to find which code set the metrics-core-2.2.0.jar path wrong.
> Until now, I guess this code would be the set the metrics-core-2.2.0.jar for
> the `Cuboid to HFile` spark job.
> *
> [https://github.com/apache/kylin/blob/kylin-3.1.0/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/HBaseSparkSteps.java#L69]
> h1. Questions
> 1. I'm trying to remote debug with IDE to make sure my guess is right. But
> the breakpoint on that line is not captured on Runtime. It seems to be called
> on the booting phase. Is it right?
> 2. Is there any hint or guessing to solve this issue regardless of the above
> my progress?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)