Migrating 50TB data from local Hadoop cluster to Google Cloud Storage

后端 未结 2 1178
孤独总比滥情好
孤独总比滥情好 2020-11-28 14:31

I am trying to migrate existing data (JSON) in my Hadoop cluster to Google Cloud Storage.

I have explored GSUtil and it seems that it is the recommended option to mo

2条回答
  •  孤街浪徒
    2020-11-28 15:20

    Look like few property names are changed in recent versions.

    `String serviceAccount = "service-account@test.gserviceaccount.com";

    String keyfile = "/path/to/local/keyfile.p12";

    hadoopConfiguration.set("google.cloud.auth.service.account.enable", true); hadoopConfiguration.set("google.cloud.auth.service.account.email", serviceAccount); hadoopConfiguration.set("google.cloud.auth.service.account.keyfile", keyfile);`

提交回复
热议问题