org.apache.catalina.LifecycleException: Protocol handler initialization failed
./oryx-run.sh serving--conf wordcount-example.conf --app-jar example-2.8.0.jar是oryx运行的语句
执行./oryx-run.sh serving--conf wordcount-example.conf --app-jar example-2.8.0.jar
出现org.apache.catalina.LifecycleException: Protocol handler initialization failed的问题
编辑wordcount-example.conf中的serving中的端口号就行
下面是wordcount-example.conf中一部分的图:
只要修改下面中的port就可以了
serving {
memory = "1000m"
model-manager-class = "com.cloudera.oryx.example.serving.ExampleServingModelManager"
application-resources = "com.cloudera.oryx.example.serving"
api {
port = 8080
}
}