[ 
https://issues.apache.org/jira/browse/OOZIE-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423270#comment-17423270
 ] 

Andras Salamon commented on OOZIE-3638:
---------------------------------------

Looks like Oozie locks the derby database when you start Oozie so it's not 
possible to manipulate (or even read) it with ooziedb.sh while Oozie is 
running. I'm not sure if it's a bug or just a careful limitation.

> Execute command failed after oozie started
> ------------------------------------------
>
>                 Key: OOZIE-3638
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3638
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 5.2.0
>            Reporter: meitingli
>            Priority: Major
>         Attachments: image-2021-09-30-19-39-53-160.png, 
> image-2021-09-30-19-40-00-109.png, image-2021-09-30-19-40-08-394.png, 
> image-2021-09-30-19-41-18-290.png
>
>
> The version of oozie and the kernel version of OS as below:
> !image-2021-09-30-19-41-18-290.png!
>  # Set the java path
>  export JAVA_HOME=/usr/lib/jvm/$java11_version
>  export PATH=$JAVA_HOME/bin:$PATH
>  export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
>  # Execute below command to start oozie
>  oozie-start.sh
>  # Check the path /var/cache/oozie/data/oozie-db, there were *.lck files 
> created. !image-2021-09-30-19-40-08-394.png!
>  # Executed other command line, such like ooziedb.sh version, it would pop up 
> error that the database failed to start.
>  !image-2021-09-30-19-39-53-160.png!!image-2021-09-30-19-40-00-109.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to