亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

TEZ UI搭建

發布時間:2020-08-03 14:19:33 來源:網絡 閱讀:2965 作者:r7raul 欄目:大數據



官方 TEZUI 需要TEZ6+hadoop2.6.0

其實 TEZUI  TEZ0.53+hadoop2.4.0+也可以玩 只要hadoop有timelineserver

但是hadoop2.4.0 hadoop2.5.0 timelineserver不支持跨域請求。。所以用ambari2.2中的tez view來搭建可以實現,并且方便快捷。


tez-site.xml

<configuration>

    <property>

      <name>tez.lib.uris</name>

      <value>hdfs:///apps/tez-0.5.3/tez-0.5.3.tar.gz</value>

    </property>

   <property>

      <name>tez.task.generate.counters.per.io</name>

      <value>true</value>

    </property>

<property>

  <description>Log history using the Timeline Server</description>

  <name>tez.history.logging.service.class</name>

  <value>org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService</value>

</property>

<property>

  <description>Publish configuration information to Timeline server.</description>

  <name>tez.runtime.convert.user-payload.to.history-text</name>

  <value>true</value>

</property>


  </configuration>


yarn-site.xml

加上

<property>

  <description>Indicate to clients whether Timeline service is enabled or not.

  If enabled, the TimelineClient library used by end-users will post entities

  and events to the Timeline server.</description>

  <name>yarn.timeline-service.enabled</name>

  <value>true</value>

</property>


<property>

  <description>The hostname of the Timeline service web application.</description>

  <name>yarn.timeline-service.hostname</name>

  <value>192.168.117.117</value>

</property>

<property>

  <name>yarn.resourcemanager.system-metrics-publisher.enabled</name>

  <value>true</value>

</property>


<property>

  <description>Enables cross-origin support (CORS) for web services where

  cross-origin web response headers are needed. For example, javascript making

  a web services request to the timeline server.</description>

  <name>yarn.timeline-service.http-cross-origin.enabled</name>

  <value>true</value><!--hadoop 2.6.0才支持--> 詳細信息見

http://search-hadoop.com/m/tQlTsMD%26subj=Tez+nbsp+taskcount+log+visualization 

</property>


<property>

  <description>Address for the Timeline server to start the RPC server.</description>

  <name>yarn.timeline-service.address</name>

  <value>${yarn.timeline-service.hostname}:10201</value>

</property>


<property>

  <description>The http address of the Timeline service web application.</description>

  <name>yarn.timeline-service.webapp.address</name>

  <value>${yarn.timeline-service.hostname}:8188</value>

</property>


<property>

  <description>The https address of the Timeline service web application.</description>

  <name>yarn.timeline-service.webapp.https.address</name>

  <value>${yarn.timeline-service.hostname}:2191</value>

</property>



yarn timelineserver start  可以啟動timelineserver


Tez config 

https://issues.apache.org/jira/browse/TEZ-2294


Tez 優化

Listing some details at very high level,

- Set "tez.task.generate.counters.per.io=true" to get more details on the task counters. Basically this starts printinng the counters per edge, which can be a lot more useful for debugging.

- In case you want to avoid container launches etc when you analyze for first time, try hive.prewarm.enabled=true & hive.prewarm.numcontainers=<no of containers you want in your sesssion to be prewarmed>

- Container reuse is enabled by default in tez. (tez.am.container.idle.release-timeout-min.millis, tez.am.container.idle.release-timeout-max.millis controls the amount of time a container is held by AM before releasing it)

- Set tez.runtime.io.sort.mb appropriately to avoid spills (you can check task counters in the logs to find out the spills and adjust it accordingly)

- Set tez.runtime.sort.threads=2 to enable PipelinedSorter which is a lot performant than DefaultSorter (this is the default in master branch. But if you are using earlier releases, you can turn it on by setting tez.runtime.sort.threads=2).

- Set tez.runtime.compress=true and set tez.runtime.compress.codec (SnappyCodec is preferred, but it is upto you to choose)

- Set tez.runtime.shuffle.keep-alive.enabled=true in case you have shuffle heavy workload. This reduces number of connections in shuffle.

- Adjust memory allocated to different inputs/outputs based on tez.task.scale.memory.ratios (but this is more of expert level setting which you might want to touch after nailing down any memory pressure)

- Adjusting shuffle buffers are also possible, but would advise only when you nail down an issue related to shuffle/merge codepath.

- Set "tez.runtime.optimize.local.fetch=true" to bypass http fetches (when data is locally present)

Feel free to refer to https://github.com/t3rmin4t0r/tez-autobuild/blob/master/tez-site.xml for any commonly used settings for benchmarks.



Rajesh,

   What are the problems with having tez.runtime.shuffle.keep-alive.enabled and tez.runtime.optimize.local.fetch set to true always by default?


@r7raul1984, would you mind filing a documentation jira for your question. The list that Rajesh provided might be good to formalize into a doc and/or wiki. 

Also, please take a look at https://issues.apache.org/jira/browse/TEZ-2294 to see all the list of parameters. If you see something off or not clear enough, please add your comments to the jira.

 

@Rohini,

 

We recently changed tez.runtime.optimize.local.fetch to true as the default value in master. The feature was introduced and probably kept as false initially as it had not been fully battle tested.

 

The latter I am assuming depends on how many open connections a cluster’s setup can sustain and needs to be tuned in combination with “tez.runtime.shuffle.keep-alive.max.connections”.  Good point on whether we should make this true by default. Will wait for @Rajesh/@Gopal/@Sid to chime in and they can open a new jira if this is generally beneficial in most setups.


>   What are the problems with having

>tez.runtime.shuffle.keep-alive.enabled and

>tez.runtime.optimize.local.fetch set to true always by default?

 

>   What are the problems with having

>tez.runtime.shuffle.keep-alive.enabled and

>tez.runtime.optimize.local.fetch set to true always by default?

 

Nothing has failed due to these so far - we

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

兴仁县| 天祝| 舞钢市| 丽水市| 竹溪县| 诸暨市| 广西| 息烽县| 广汉市| 五大连池市| 伊川县| 永年县| 三江| 宁德市| 绿春县| 安陆市| 威宁| 瓦房店市| 乐至县| 临沧市| 玉田县| 乌拉特中旗| 美姑县| 古丈县| 大足县| 深圳市| 舒兰市| 呼和浩特市| 库伦旗| 大荔县| 宣威市| 柳江县| 抚远县| 睢宁县| 嘉黎县| 余江县| 海原县| 寿光市| 虎林市| 上思县| 班玛县|