-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support running HA JobMaster process in intellij
### What changes are proposed in this pull request? Add tools for intellij to start local HA JobMaster process., this pr is a Is a supplement to pr #14042 ### Why are the changes needed? It is convenient to debug and test job master in intellij. Please clarify why the changes are needed. For instance, 1. Add AlluxioJobMaster xml file to dev/intellij directory 2. Update the doc. ### Does this PR introduce any user facing changes? No Please list the user-facing changes introduced by your change, including No pr-link: #14120 change-id: cid-e55be3c958b813c2310de6e509d867a0018a4b21
- Loading branch information
Showing
4 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 | ||
(the "License"). You may not use this work except in compliance with the License, which is | ||
available at www.apache.org/licenses/LICENSE-2.0 | ||
This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied, as more fully set forth in the License. | ||
See the NOTICE file distributed with this work for information regarding copyright ownership. | ||
--> | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="AlluxioJobMaster-0" type="Application" factoryName="Application"> | ||
<option name="MAIN_CLASS_NAME" value="alluxio.master.AlluxioJobMaster" /> | ||
<module name="alluxio-job-server" /> | ||
<option name="VM_PARAMETERS" value="-Dalluxio.job.master.rpc.port=20001 -Dalluxio.job.master.web.port=20002 -Dalluxio.job.master.embedded.journal.port=20003 -Dalluxio.work.dir=/tmp/alluxio-tmp/alluxio-0 -Xbootclasspath/a:$PROJECT_DIR$/conf -Dalluxio.logger.type=Console" /> | ||
<extension name="coverage"> | ||
<pattern> | ||
<option name="PATTERN" value="alluxio.master.*" /> | ||
<option name="ENABLED" value="true" /> | ||
</pattern> | ||
</extension> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 | ||
(the "License"). You may not use this work except in compliance with the License, which is | ||
available at www.apache.org/licenses/LICENSE-2.0 | ||
This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied, as more fully set forth in the License. | ||
See the NOTICE file distributed with this work for information regarding copyright ownership. | ||
--> | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="AlluxioJobMaster-1" type="Application" factoryName="Application"> | ||
<option name="MAIN_CLASS_NAME" value="alluxio.master.AlluxioJobMaster" /> | ||
<module name="alluxio-job-server" /> | ||
<option name="VM_PARAMETERS" value="-Dalluxio.job.master.rpc.port=20011 -Dalluxio.job.master.web.port=20012 -Dalluxio.job.master.embedded.journal.port=20013 -Dalluxio.work.dir=/tmp/alluxio-tmp/alluxio-1 -Xbootclasspath/a:$PROJECT_DIR$/conf -Dalluxio.logger.type=Console " /> | ||
<extension name="coverage"> | ||
<pattern> | ||
<option name="PATTERN" value="alluxio.master.*" /> | ||
<option name="ENABLED" value="true" /> | ||
</pattern> | ||
</extension> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 | ||
(the "License"). You may not use this work except in compliance with the License, which is | ||
available at www.apache.org/licenses/LICENSE-2.0 | ||
This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
either express or implied, as more fully set forth in the License. | ||
See the NOTICE file distributed with this work for information regarding copyright ownership. | ||
--> | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="AlluxioJobMaster-2" type="Application" factoryName="Application"> | ||
<option name="MAIN_CLASS_NAME" value="alluxio.master.AlluxioJobMaster" /> | ||
<module name="alluxio-job-server" /> | ||
<option name="VM_PARAMETERS" value="-Dalluxio.job.master.rpc.port=20021 -Dalluxio.job.master.web.port=20022 -Dalluxio.job.master.embedded.journal.port=20023 -Dalluxio.work.dir=/tmp/alluxio-tmp/alluxio-2 -Xbootclasspath/a:$PROJECT_DIR$/conf -Dalluxio.logger.type=Console" /> | ||
<extension name="coverage"> | ||
<pattern> | ||
<option name="PATTERN" value="alluxio.master.*" /> | ||
<option name="ENABLED" value="true" /> | ||
</pattern> | ||
</extension> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters