zhongjiajie commented on PR #10244:
URL: 
https://github.com/apache/dolphinscheduler/pull/10244#issuecomment-1137153043

   > I found that `tools/bin/upgrade-schema.sh: line 22: 
/opt/dolphinscheduler/bin/env/dolphinscheduler_env.sh: No such file or 
directory` , and we use `sh ./tools/bin/upgrade-schema.sh` to upgrade, see 
[upgrade](https://dolphinscheduler.apache.org/zh-cn/docs/dev/user_doc/guide/upgrade.html).
   
   we should add
   
   ```xml
           <fileSet>
               <directory>${basedir}/../script/env</directory>
               <outputDirectory>conf</outputDirectory>
               <includes>
                   <include>dolphinscheduler_env.sh</include>
               </includes>
               <fileMode>0755</fileMode>
               <directoryMode>0755</directoryMode>
           </fileSet>
   ```
   in 
https://github.com/apache/dolphinscheduler/blob/515c3631480c33c3b12fd0188fe064d59ade7b94/dolphinscheduler-tools/src/main/assembly/dolphinscheduler-tools.xml#L40
 to make it work


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to