Last Updated: Feb 06, 2018

All functions of MaxCompute can be accessed through Console. Next how to install and configure the console will be introduced.

  1. First, download MaxCompute console. You can click Download. Since Console is developed in Java, make sure there is JRE 1.6 on your machine. Then decompress it into a folder. After decompression, there are four folders:

    1. bin/ conf/ lib/ plugins/
  2. In the folder ‘conf’, there is a file named ‘odps_config.ini’. Edit it by filling in corresponding information:

    1. access_id=*******************
    2. access_key=*********************
    3. #Access ID and Access Key correspond to your cloud account information. You can apply it on official website.
    4. project_name=my_project
    5. # Specify the project you want to use.
    6. end_point=https://xxxxx
    7. # Access URL of the MaxCompute service.
    8. tunnel_endpoint=https://xxxxx
    9. # Access URL of the MaxCompute Tunnel service.
    10. log_view_host=
    11. # Agter a user execute a task, the Console returns the LogView address of this task. You can view the detailed execution information of this task at this address.
    12. https_check=true
    13. #Determine whether to enable HTTPS access


  • end_point and tunnel_endpoint. The access URLs differ for different regions.
  • For more details of Console, please refer to MaxCompute Console.
  • MaxCompute provides two service addresses separately on public network and private network. Different address corresponds to different price.
  • MaxCompute client does not support comments, but “—” is used as a comment in the document for the convenience of readers.
  1. After the configuration file has been modified, run ‘odpscmd’ in bin directory. (If the OS is Linux, run ‘./bin/odpscmd’; if the OS is Windows, run ‘./bin/odpscmd.bat’.)

  2. Now run several SQL sentences:

    1. create table tbl1(id bigint);
    2. insert overwrite table tbl1 select count(*) from tbl1;
    3. select 'welcome to MaxCompute!' from tbl1;


For more SQL sentences, refer to SQL.

Thank you! We've received your feedback.