You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/05/08 01:13:24 UTC

[GitHub] [incubator-doris] GavinYaoer opened a new issue #3516: can not find main class in start_fe.sh

GavinYaoer opened a new issue #3516:
URL: https://github.com/apache/incubator-doris/issues/3516


   编译完成后启动fe报找不到MainClass
   
   查看启动脚本,发现定义了CLASSPATH,但是启动时并没有用到该属性


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] pei-open commented on issue #3516: can not find main class in start_fe.sh

Posted by GitBox <gi...@apache.org>.
pei-open commented on issue #3516:
URL: https://github.com/apache/incubator-doris/issues/3516#issuecomment-626497421


   看一下这个文件:https://github.com/apache/incubator-doris/blob/master/bin/start_fe.sh
   这个里面的最后一部分
   
   ```
   if [ ${RUN_DAEMON} -eq 1 ]; then
       nohup $LIMIT $JAVA $final_java_opt org.apache.doris.PaloFe ${HELPER} "$@" >> $LOG_DIR/fe.out 2>&1 </dev/null &
   else
       $LIMIT $JAVA $final_java_opt org.apache.doris.PaloFe ${HELPER} "$@" >> $LOG_DIR/fe.out 2>&1 </dev/null
   fi
   ```
   
   我不确定这个脚本是否正确,但是确实是启动时没有指定-classpath参数,我加上了-classpath后可以启动。
   
   ···
   if [ ${RUN_DAEMON} -eq 1 ]; then
       nohup $LIMIT $JAVA $final_java_opt -classpath ${CLASSPATH}  org.apache.doris.PaloFe ${HELPER} "$@" >> $LOG_DIR/fe.out 2>&1 </dev/null &
   else
       $LIMIT $JAVA $final_java_opt -classpath ${CLASSPATH} org.apache.doris.PaloFe ${HELPER} "$@" >> $LOG_DIR/fe.out 2>&1 </dev/null
   fi
   ···


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] imay commented on issue #3516: can not find main class in start_fe.sh

Posted by GitBox <gi...@apache.org>.
imay commented on issue #3516:
URL: https://github.com/apache/incubator-doris/issues/3516#issuecomment-626186842


   可以提供更多的信息么?
   你看看是不是进入了正确的路径。应该进入output/fe/


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org