Skip to content

Commit

Permalink
AMBARI-24820. Set cloud storage tracking property for GCS (apache#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Oct 24, 2018
1 parent 052cd52 commit e243d05
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Expand Up @@ -202,6 +202,16 @@ DEFAULT
<value>User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}</value>
<on-ambari-upgrade add="false" />
</property>
<property>
<name>fs.gs.application.name.suffix</name>
<value> (GPN:Hortonworks; version 1.0) HDP/{{version}}</value>
<value-attributes>
<read-only>true</read-only>
<overridable>false</overridable>
<visible>false</visible>
</value-attributes>
<on-ambari-upgrade add="false" />
</property>
<property>
<name>fs.s3a.user.agent.prefix</name>
<value>User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}</value>
Expand Down
Expand Up @@ -398,6 +398,7 @@
<definition xsi:type="configure" id="hdfs_user_agent" summary="Set User-Agent">
<type>core-site</type>
<set key="fs.azure.user.agent.prefix" value="User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}" if-type="core-site" if-key="fs.azure.user.agent.prefix" if-key-state="absent" />
<set key="fs.gs.application.name.suffix" value=" (GPN:Hortonworks; version 1.0) HDP/{{version}}" if-type="core-site" if-key="fs.gs.application.name.suffix" if-key-state="absent" />
<set key="fs.s3a.user.agent.prefix" value="User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}" if-type="core-site" if-key="fs.s3a.user.agent.prefix" if-key-state="absent" />
</definition>
</changes>
Expand Down
Expand Up @@ -282,6 +282,7 @@
<definition xsi:type="configure" id="hdfs_user_agent" summary="Set User-Agent">
<type>core-site</type>
<set key="fs.azure.user.agent.prefix" value="User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}" if-type="core-site" if-key="fs.azure.user.agent.prefix" if-key-state="absent" />
<set key="fs.gs.application.name.suffix" value=" (GPN:Hortonworks; version 1.0) HDP/{{version}}" if-type="core-site" if-key="fs.gs.application.name.suffix" if-key-state="absent" />
<set key="fs.s3a.user.agent.prefix" value="User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}" if-type="core-site" if-key="fs.s3a.user.agent.prefix" if-key-state="absent" />
</definition>
</changes>
Expand Down
Expand Up @@ -301,6 +301,7 @@
<definition xsi:type="configure" id="hdfs_user_agent" summary="Set User-Agent">
<type>core-site</type>
<set key="fs.azure.user.agent.prefix" value="User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}" if-type="core-site" if-key="fs.azure.user.agent.prefix" if-key-state="absent" />
<set key="fs.gs.application.name.suffix" value=" (GPN:Hortonworks; version 1.0) HDP/{{version}}" if-type="core-site" if-key="fs.gs.application.name.suffix" if-key-state="absent" />
<set key="fs.s3a.user.agent.prefix" value="User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}" if-type="core-site" if-key="fs.s3a.user.agent.prefix" if-key-state="absent" />
</definition>
</changes>
Expand Down

0 comments on commit e243d05

Please sign in to comment.