sekikn edited a comment on pull request #813:
URL: https://github.com/apache/bigtop/pull/813#issuecomment-905055706


   Hi @afsanjar, thank you so much for working on this! I've also tried this 
issue, so let me share my findings in addition to the comments above.
   (Just for reference, my patch is 
https://github.com/sekikn/bigtop/commit/b94539c280df2b698a9d55db0cca753634d2d1b1.
 But I only made sure it worked with CentOS 7, so I'm going to try your PR with 
all distros instead)
   
   * In my environment, building the gRPC-Java compiler failed in the platform 
check. I had to add the following patch for avoiding it.
     
https://github.com/sekikn/bigtop/commit/b94539c280df2b698a9d55db0cca753634d2d1b1#diff-3691792fac1b47949baafea0e89da9956fb028a702b366065c5eb22ba6d1fb66
   
   * Upgrading node and npm seemed to be needed on CentOS 7, because of the 
same problem as #793.
     
https://github.com/sekikn/bigtop/commit/b94539c280df2b698a9d55db0cca753634d2d1b1#diff-b04756af9f3626aa5a5a19e5fa0efe423f97f4ac810f9ac805c8cd23b13ff1fe
   
   * npm tries to install its packages under user's home directory, but its 
permission is set as 644 or something for the root user by default on some 
distros. So I had to set it writable.
     
https://github.com/sekikn/bigtop/commit/b94539c280df2b698a9d55db0cca753634d2d1b1#diff-daf9d5db7e58dd630af913e1b218f196fad9523f90ab27352f48c92324d986d0R71-R72
   
   * In case of running the build as root, npm and bower seemed to require some 
additional options.
     
https://github.com/sekikn/bigtop/commit/b94539c280df2b698a9d55db0cca753634d2d1b1#diff-b04756af9f3626aa5a5a19e5fa0efe423f97f4ac810f9ac805c8cd23b13ff1feR1335-R1336
     
https://github.com/sekikn/bigtop/commit/b94539c280df2b698a9d55db0cca753634d2d1b1#diff-b04756af9f3626aa5a5a19e5fa0efe423f97f4ac810f9ac805c8cd23b13ff1feR1375-R1376


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to