ODPS-0420095: Access Denied

  1. 云栖社区>
  2. 博客>
  3. 正文

ODPS-0420095: Access Denied

外卖小王子 2019-11-06 15:26:51 浏览760
展开阅读全文

最近想用阿里的MaxCompute,然后我自己写了一个mr程序,用MaxCompute Studio中的一键发布"Deploy to server"后,用客户端去执行jar,抛出了Access Denied的异常,请问是我没有开通MaxCompute的缘故吗?(目前申请使用的MaxCompute是开发版),还是我配置的问题?
Exception in thread "main" com.aliyun.odps.OdpsException: ODPS-0420095: Access Denied - The task is not in release range: LOT

    at com.aliyun.odps.rest.RestClient.handleErrorResponse(RestClient.java:378)
    at com.aliyun.odps.rest.RestClient.request(RestClient.java:318)
    at com.aliyun.odps.rest.RestClient.request(RestClient.java:274)
    at com.aliyun.odps.rest.RestClient.stringRequest(RestClient.java:250)
    at com.aliyun.odps.Instances.create(Instances.java:391)
    at com.aliyun.odps.Instances.create(Instances.java:325)
    at com.aliyun.odps.Instances.create(Instances.java:290)
    at com.aliyun.odps.Instances.create(Instances.java:272)
    at com.aliyun.odps.Instances.create(Instances.java:254)
    at com.aliyun.odps.Instances.create(Instances.java:146)
    at com.aliyun.odps.mapred.bridge.MetaExplorerImpl.createInstance(MetaExplorerImpl.java:233)
    at com.aliyun.odps.mapred.LotBridgeJobRunner.submitInternal(LotBridgeJobRunner.java:99)
    at com.aliyun.odps.mapred.BridgeJobRunner.submit(BridgeJobRunner.java:401)
    at com.aliyun.odps.mapred.JobClient.submitJob(JobClient.java:180)
    at com.aliyun.odps.mapred.JobClient.runJob(JobClient.java:80)
    at driver.WordCountMR.main(WordCountMR.java:39)

Caused by: com.aliyun.odps.rest.RestException: RequestId=5DC26FA06CBF9717C14F8D32,Code=NoPermission,Message=ODPS-0420095: Access Denied - The task is not in

网友评论

登录后评论
0/500
评论
外卖小王子
+ 关注