[
https://issues.apache.org/jira/browse/TEZ-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326697#comment-14326697
]
Chang Li commented on TEZ-2091:
-------------------------------
[~hitesh] I have added more explanations (include how to install nodejs,
express and jsonconfig" in README. I also added explanation of how to use
nodejs in tez-ui.md.
Nodejs is written in javascript, and json is the fastest and most straight
forward way for javascript to read configurations. That's why my config file is
in json.
I have added a logic block in the script to handle the case of config not
provided and provide default values.
The script requires the config to be in the same dir. This is also explained in
both README and tez-ui.md.
As for the http-server. I have run and tested it. It's actually a very
convenient module. My impl so far doesn't have as many features as
http-server. But those features could be added in later. I think one advantage
of my impl is that the code is opensourced and can be improved by the
community. I don't know if http-server is also open sourced. I could added
comments in README and tez-ui.md to also recommend user to try http-server.
> Add support for hosting TEZ_UI with nodejs
> ------------------------------------------
>
> Key: TEZ-2091
> URL: https://issues.apache.org/jira/browse/TEZ-2091
> Project: Apache Tez
> Issue Type: Improvement
> Components: UI
> Reporter: Chang Li
> Assignee: Chang Li
> Attachments: TEZ_2091_V1.patch, TEZ_2091_V2.patch
>
>
> There are certain category of people who would like to host TEZ UI on nodejs,
> it will be a good feature to be added in
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)