35 lines
879 B
Plaintext
35 lines
879 B
Plaintext
1.maven error
|
|
apt-get install maven
|
|
mvn install:install-file -Dfile=/opt/project/piflow/piflow-bundle/lib/java_memcached-release_2.6.6.jar -DgroupId=com.memcached -DartifactId=java_memcached-release_2.6.6 -Dversion=0.0.0 -Dpackaging=jar
|
|
|
|
|
|
2.packaging
|
|
|
|
clean package -Dmaven.test.skip=true -U
|
|
|
|
|
|
3.set SPARK_HOME in Configurations
|
|
Edit Configurations --> Application(HttpService) --> Configurations --> Environment Variable
|
|
|
|
|
|
4. yarn log aggregation
|
|
Edit yarn-site.xml, add the following content
|
|
<property>
|
|
<name>yarn.log-aggregation-enable</name>
|
|
<value>true</value>
|
|
</property>
|
|
|
|
<property>
|
|
<name>yarn.nodemanager.log-aggregation.debug-enabled</name>
|
|
<value>true</value>
|
|
</property>
|
|
|
|
<property>
|
|
<name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</name>
|
|
<value>3600</value>
|
|
</property>
|
|
|
|
|
|
|
|
|