apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.17k forks source link

[Bug]spark enginemanager open debug mode #214

Closed xccoder closed 4 years ago

xccoder commented 4 years ago

Describe the bug start spark-enginemanager debug mode,but start log show error


Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=500m; support was removed in 8.0
Listening for transport dt_socket at address: 11732
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.webank.wedatasphere.linkis.server.conf.ServerConfiguration$.<init>(ServerConfiguration.scala:95)
        at com.webank.wedatasphere.linkis.server.conf.ServerConfiguration$.<clinit>(ServerConfiguration.scala)
        at com.webank.wedatasphere.linkis.server.conf.ServerConfiguration.BDP_SERVER_SPRING_APPLICATION_LISTENERS(ServerConfiguration.scala)
        at com.webank.wedatasphere.linkis.DataWorkCloudApplication.main(DataWorkCloudApplication.java:99)
Caused by: java.lang.IllegalArgumentException: For input string: "true    # æ<89><93>å¼<80>æµ<8b>è¯<95>模å¼<8f>"
        at scala.collection.immutable.StringLike$class.parseBoolean(StringLike.scala:290)
        at scala.collection.immutable.StringLike$class.toBoolean(StringLike.scala:260)
        at scala.collection.immutable.StringOps.toBoolean(StringOps.scala:29)
        at com.webank.wedatasphere.linkis.common.conf.BDPConfiguration$$anonfun$11.apply(BDPConfiguration.scala:97)
        at com.webank.wedatasphere.linkis.common.conf.BDPConfiguration$$anonfun$11.apply(BDPConfiguration.scala:97)
        at scala.Option.map(Option.scala:146)
        at com.webank.wedatasphere.linkis.common.conf.BDPConfiguration$.formatValue(BDPConfiguration.scala:97)
        at com.webank.wedatasphere.linkis.common.conf.BDPConfiguration$.getOption(BDPConfiguration.scala:83)
        at com.webank.wedatasphere.linkis.common.conf.CommonVars.<init>(CommonVars.scala:25)
        at com.webank.wedatasphere.linkis.common.conf.CommonVars$.apply(CommonVars.scala:37)
        at com.webank.wedatasphere.linkis.common.conf.Configuration$.<init>(Configuration.scala:35)
        at com.webank.wedatasphere.linkis.common.conf.Configuration$.<clinit>(Configuration.scala)
        ... 4 more
~                                                                                      

spark enginemange config : em

xccoder commented 4 years ago

Chinese annotation cause errors

wushengyeyouya commented 4 years ago

Only happened on debug mode?

xccoder commented 4 years ago

yes,before linkis run normal,when add " -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=10092" to sparkenginemanage start shell ,trigger error

wushengyeyouya commented 4 years ago

Seems like a bug, let us have a look, thanks very much.

peacewong commented 4 years ago

Hello, the issue has been fixed