[
https://issues.apache.org/jira/browse/KYLIN-4372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18070297#comment-18070297
]
ASF GitHub Bot commented on KYLIN-4372:
---------------------------------------
codecov-commenter commented on PR #1103:
URL: https://github.com/apache/kylin/pull/1103#issuecomment-4169178076
##
[Codecov](https://app.codecov.io/gh/apache/kylin/pull/1103?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 25.06%. Comparing base
([`147109e`](https://app.codecov.io/gh/apache/kylin/commit/147109e72fbe52e7a8ce0dce4bbf0d7779249937?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
to head
([`6077eae`](https://app.codecov.io/gh/apache/kylin/commit/6077eaef7f530d84b35ebd2794771b53d6db6364?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #1103 +/- ##
============================================
+ Coverage 25.05% 25.06% +0.01%
- Complexity 6224 6225 +1
============================================
Files 1440 1440
Lines 87819 87883 +64
Branches 12275 12291 +16
============================================
+ Hits 22001 22031 +30
- Misses 63660 63694 +34
Partials 2158 2158
```
</details>
[:umbrella: View full report in Codecov by
Sentry](https://app.codecov.io/gh/apache/kylin/pull/1103?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it
here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test
Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests,
report on failures, and find test suite problems.
- :package: [JS Bundle
Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save
yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
> Docker entrypoint delete file too later cause ZK started by HBase crash
> -----------------------------------------------------------------------
>
> Key: KYLIN-4372
> URL: https://issues.apache.org/jira/browse/KYLIN-4372
> Project: Kylin
> Issue Type: Bug
> Components: Others
> Affects Versions: v3.0.0-alpha2
> Reporter: Yue Zhang
> Assignee: weibin0516
> Priority: Critical
> Fix For: v3.0.2
>
>
> In docker/entrypoint.sh
>
> {code:java}
> # start hbase
> $HBASE_HOME/bin/start-hbase.sh
> # start kafka
> rm -rf /tmp/kafka-logs
> rm -rf /data/zookeeper/*
> nohup $KAFKA_HOME/bin/kafka-server-start.sh
> $KAFKA_HOME/config/server.properties &
> {code}
> rm -rf /data/zookeeper/* should before starting HBase instead of before
> starting Kafka.
> It executes after HBase will cause ZK started by HBase crash.
> The crash logs of /home/admin/hbase-1.1.2/logs/hbase--master-9aef5f427eb6.log:
> {code:java}
> 2020-02-10 09:25:56,402 INFO [SyncThread:0] persistence.FileTxnLog: Creating
> new log file: log.1 2020-02-10 09:25:56,402 ERROR [SyncThread:0]
> server.SyncRequestProcessor: Severe unrecoverable error, exiting
> java.io.FileNotFoundException: /data/zookeeper/zookeeper_0/version-2/log.1
> (No such file or directory) at java.io.FileOutputStream.open0(Native Method)
> at java.io.FileOutputStream.open(FileOutputStream.java:270) at
> java.io.FileOutputStream.<init>(FileOutputStream.java:213) at
> java.io.FileOutputStream.<init>(FileOutputStream.java:162) at
> org.apache.zookeeper.server.persistence.FileTxnLog.append(FileTxnLog.java:205)
> at
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.append(FileTxnSnapLog.java:314)
> at org.apache.zookeeper.server.ZKDatabase.append(ZKDatabase.java:476) at
> org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:140)
> {code}
> I think the shell should be like this
> {code:java}
> # start hbase
> rm -rf /data/zookeeper/*
> $HBASE_HOME/bin/start-hbase.sh
> # start kafka
> rm -rf /tmp/kafka-logs
> nohup $KAFKA_HOME/bin/kafka-server-start.sh
> $KAFKA_HOME/config/server.properties & {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)