You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/15 11:22:00 UTC
[GitHub] [dolphinscheduler] jchen811 opened a new issue #8916: [Bug] [Shell] 使用shell调用.sh脚本,.sh脚本里调用hive -e 报ERROR XBM0H
jchen811 opened a new issue #8916:
URL: https://github.com/apache/dolphinscheduler/issues/8916
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
Logging initialized using configuration in jar:file:/opt/apps/ecm/service/hive/2.3.7-1.1.7/package/apache-hive-2.3.7-1.1.7-bin/lib/hive-common-2.3.7.jar!/hive-log4j2.properties Async: true
[INFO] 2022-03-15 19:02:30.423 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] java.io.FileNotFoundException: derby.log (权限不够)
[INFO] 2022-03-15 19:02:31.425 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] Cleanup action starting
ERROR XBM0H: Directory /tmp/dolphinscheduler/exec/process/4641209403712/4840693783232_3/161/263/metastore_db cannot be created.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
### What you expected to happen
Logging initialized using configuration in jar:file:/opt/apps/ecm/service/hive/2.3.7-1.1.7/package/apache-hive-2.3.7-1.1.7-bin/lib/hive-common-2.3.7.jar!/hive-log4j2.properties Async: true
[INFO] 2022-03-15 19:02:30.423 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] java.io.FileNotFoundException: derby.log (权限不够)
[INFO] 2022-03-15 19:02:31.425 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] Cleanup action starting
ERROR XBM0H: Directory /tmp/dolphinscheduler/exec/process/4641209403712/4840693783232_3/161/263/metastore_db cannot be created.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
### How to reproduce
使用shell调用shell脚本
shell脚本里引用hive -e "hive sql"
### Anything else
_No response_
### Version
2.0.2
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] caishunfeng commented on issue #8916: [Bug] [Shell] Use shell to call .sh script, call hive -e in .sh script and report ERROR XBM0H
Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #8916:
URL: https://github.com/apache/dolphinscheduler/issues/8916#issuecomment-1070006789
> java.io.FileNotFoundException: derby.log (权限不够)
please check the permission of the tenant you use.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8916: [Bug] [Shell] Use shell to call .sh script, call hive -e in .sh script and report ERROR XBM0H
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8916:
URL: https://github.com/apache/dolphinscheduler/issues/8916#issuecomment-1067892581
Hi:
* Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8916: [Bug] [Shell] Use shell to call .sh script, call hive -e in .sh script and report ERROR XBM0H
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8916:
URL: https://github.com/apache/dolphinscheduler/issues/8916#issuecomment-1067892434
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
Logging initialized using configuration in jar:file:/opt/apps/ecm/service/hive/2.3.7-1.1.7/package/apache-hive-2.3.7-1.1.7-bin/lib/hive-common-2.3.7.jar!/hive-log4j2.properties Async: true
[INFO] 2022-03-15 19:02:30.423 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] java.io.FileNotFoundException: derby.log (权限不够)
[INFO] 2022-03-15 19:02:31.425 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] Cleanup action starting
ERROR XBM0H: Directory /tmp/dolphinscheduler/exec/process/4641209403712/4840693783232_3/161/263/metastore_db cannot be created.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
### What you expected to happen
Logging initialized using configuration in jar:file:/opt/apps/ecm/service/hive/2.3.7-1.1.7/package/apache-hive-2.3.7-1.1.7-bin/lib/hive-common-2.3.7.jar!/hive-log4j2.properties Async: true
[INFO] 2022-03-15 19:02:30.423 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] java.io.FileNotFoundException: derby.log (权限不够)
[INFO] 2022-03-15 19:02:31.425 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> Tue Mar 15 19:02:30 CST 2022 Thread[7c9892df-bfd0-4355-b9d8-76fd1286442c main,5,main] Cleanup action starting
ERROR XBM0H: Directory /tmp/dolphinscheduler/exec/process/4641209403712/4840693783232_3/161/263/metastore_db cannot be created.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
### How to reproduce
使用shell调用shell脚本
shell脚本里引用hive -e "hive sql"
### Anything else
_No response_
### Version
2.0.2
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org