Updated on 2022-06-01 GMT+08:00

Obtaining and Importing a Sample Project

  1. Download the sample project from Method of Building an MRS Sample Project to the local PC.
  2. Import the sample project to the Eclipse development environment.

    1. Start Eclipse and choose File > Import. In the Import dialog box, select Existing Maven Projects and click next.
    2. Click Browse in the Import Maven Projects window. The Select Root Folder dialog box is displayed.
    3. Select the alluxio-examples sample project folder, and click OK.
    4. Click Finish in the Import Maven Projects window.
  3. Set an Eclipse text file encoding format to prevent garbled characters.
    1. On the Eclipse menu bar, choose Window > Preferences.

      The Preferences window is displayed.

    2. In the navigation tree, choose General > Workspace. In the Text file encoding area, select Other and set the value to UTF-8. Click Apply and then OK. Figure 1 shows the settings.
      Figure 1 Setting the Eclipse encoding format