After creating a ODPS project, user can write Graph program and complete the local debugging accoring the following steps.In this example, we select “PageRank.java” provided by the plug-in to complete the debugging.Select “PageRank.java” in “examples”:
Right click the mouse and select “Debug As” -> “ODPS MapReduce|Graph”:
The dialog box appears and configure it as follows:
View the running result:
You can view the computing result on the local:
Afther the debugging passed, you can package the program and upload it to ODPS as a Jar resource. Then submit Graph job.
- For the package process, refer to MapReduce Eclipse Plug-in Introduction.
- For the structure introduction of local result, refer to MapReduce Eclipse Plug-in Introduction.
- For the detaied introcution of uploading Jar resource, refer to ‘Add Resource’ in Basic Introduction.
- For submitting the Graph job, refer to Graph Function.