@@ -61,20 +61,33 @@ public class GCSDiagnosticsInfo extends StoreDiagnosticsInfo {
6161 */
6262 private static final Object [][] options = {
6363
64- {"fs.gs.auth.type" , true , false },
64+ {"fs.gs.auth.type" , false , false },
65+
66+
67+ /* original hadoopp options */
68+ {"fs.gs.auth.service.account.email" , true , false },
69+ {"fs.gs.auth.service.account.private.key.id" , true , false },
70+ {SERVICE_ACCOUNT_PRIVATE_KEY , true , true },
6571
6672 {"fs.gs.client.id" , true , false },
6773 {"fs.gs.client.secret" , true , true },
6874 {"fs.gs.application.name.suffix" , false , false },
6975
70- {"fs.gs.auth.client.id" , true , false },
76+ {"fs.gs.auth.client.id" , false , false },
7177 {"fs.gs.auth.client.secret" , true , true },
7278 {"fs.gs.auth.refresh.token" , true , true },
7379 {"" , true , false },
7480
7581 {"fs.gs.auth.impersonation.service.account" , true , false },
7682 {"fs.gs.auth.access.token.provider.impl" , false , false },
7783
84+ {"fs.gs.auth.service.account.json.keyfile" , true , false },
85+ {"fs.gs.auth.service.account.enable" , true , false },
86+ {"fs.gs.auth.service.account.keyfile" , true , false },
87+ {"fs.gs.authorization.handler.impl" , false , false },
88+ {"fs.gs.authorization.handler.properties" , false , false },
89+ {"fs.gs.outputstream.type" , false , false },
90+
7891 {"fs.gs.batch.threads" , false , false },
7992 {"fs.gs.block.size" , false , false },
8093 {"fs.gs.bucket.delete.enable" , false , false },
@@ -155,19 +168,6 @@ public class GCSDiagnosticsInfo extends StoreDiagnosticsInfo {
155168 {"mapreduce.manifest.committer.delete.target.files" , false , false },
156169 {"mapreduce.manifest.committer.summary.report.directory" , false , false },
157170
158- /* obsolete stuff */
159- {"fs.gs.auth.service.account.email" , true , false },
160- {"fs.gs.auth.service.account.private.key.id" , true , false },
161- {SERVICE_ACCOUNT_PRIVATE_KEY , true , true },
162-
163- {"fs.gs.auth.service.account.json.keyfile" , true , false },
164- {"fs.gs.auth.service.account.enable" , true , false },
165- {"fs.gs.auth.service.account.keyfile" , true , false },
166- {"fs.gs.authorization.handler.impl" , false , false },
167- {"fs.gs.authorization.handler.properties" , false , false },
168- {"fs.gs.outputstream.type" , false , false },
169-
170-
171171 /* google cloud settings. */
172172 {"google.cloud.auth.type" , true , false },
173173 {"google.cloud.auth.service.account.json.keyfile" , true , false },
@@ -187,6 +187,15 @@ public class GCSDiagnosticsInfo extends StoreDiagnosticsInfo {
187187 {"GOOGLE_APPLICATION_CREDENTIALS" , false },
188188 {"SUPPRESS_GCLOUD_CREDS_WARNING" , false },
189189 };
190+
191+ /**
192+ * Standard System properties.
193+ */
194+ public static final Object [][] SYSPROPS = {
195+ {"flogger.backend_factory" , false },
196+ {"" , false },
197+ };
198+
190199 public GCSDiagnosticsInfo (final URI fsURI , final Printout output ) {
191200 super (fsURI , output );
192201 }
@@ -231,7 +240,11 @@ public Object[][] getEnvVars() {
231240 return cat (ENV_VARS , STANDARD_ENV_VARS );
232241 }
233242
234- /* @Override
243+ @ Override
244+ public Object [][] getSelectedSystemProperties () {
245+ return cat (SYSPROPS , super .getSelectedSystemProperties ());
246+ }
247+ /* @Override
235248 public List<URI> listOptionalEndpointsToProbe(final Configuration conf)
236249 throws IOException, URISyntaxException {
237250 List<URI> l = new ArrayList<>(0);
0 commit comments