[jira] [Created] (YARN-8592) [ui2]Resource Manager Web UI V2 shows a blank page in windows OS And Chrome browser

2018-07-26 Thread Akhil S Naik (JIRA)
Akhil S Naik created YARN-8592:
--

 Summary: [ui2]Resource Manager Web UI V2 shows a blank page in 
windows OS And Chrome browser
 Key: YARN-8592
 URL: https://issues.apache.org/jira/browse/YARN-8592
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Akhil S Naik


after successfully installing ambari 2.7v and hdp 3.0 in Windows Operating 
Sytem .

But, When we connect to Resource Manager UI(v2), web browser shows a blank page.

In a chrome development tool, this error is shown

Stack trace..


{code:java}
TypeError: Cannot read property 'join's null

at new i (hostname:8088/ui2/assets/vendor.js:5598:40988)

at l (hostname:8088/ui2/assets/vendor.js:5598:41338)

at p (hostname:8088/ui2/assets/vendor.js:5598:42035)

at Function.q [as guess] (hostname:8088/ui2/assets/vendor.js:5598:42235)

at getDefaultTimezone (hostname:8088/ui2/assets/yarn-ui.js:366:445)

at convertTimestampWithT (hostname:8088/ui2/assets/yarn-ui.js:366:656)

at Object.timeStampToDate (hostname:8088/ui2/assets/yarn-ui.js:348:127)

at Class.internalNormalizeSingleResponse 
(hostname:8088/ui2/assets/yarn-ui.js:287:73)

at Class. (hostname:8088/ui2/assets/yarn-ui.js:288:2024)

at Array.map (native)
{code}

The Error is hit in the underlying framework that Yarn-UI uses : 
moment-timezone-with-data-2010-2020.min.js

this is the discussion happening in framework github for the same : 
https://github.com/moment/moment-timezone/issues/294

Please find the discussion on this bug here : 
https://community.hortonworks.com/questions/208887/resource-manager-web-ui-v2-shows-a-blank-page.html

It works well in firefox browser in windows Operating systems.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



[jira] [Created] (YARN-8591) [ATSv2] Yarn container API throws 500 Internal Server Error

2018-07-26 Thread Akhil PB (JIRA)
Akhil PB created YARN-8591:
--

 Summary: [ATSv2] Yarn container API throws 500 Internal Server 
Error
 Key: YARN-8591
 URL: https://issues.apache.org/jira/browse/YARN-8591
 Project: Hadoop YARN
  Issue Type: Bug
  Components: timelinereader, timelineserver
Reporter: Akhil PB
Assignee: Rohith Sharma K S


GET 
ctr-e138-1518143905142-417433-01-04.hwx.site:8198/ws/v2/timeline/apps/application_1532578985272_0002/entities/YARN_CONTAINER?fields=ALL&_=1532670071899
{code:java}
2018-07-27 05:32:03,468 WARN  webapp.GenericExceptionHandler 
(GenericExceptionHandler.java:toResponse(98)) - INTERNAL_SERVER_ERROR
javax.ws.rs.WebApplicationException: java.lang.NullPointerException
at 
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices.handleException(TimelineReaderWebServices.java:196)
at 
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices.getEntities(TimelineReaderWebServices.java:624)
at 
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices.getEntities(TimelineReaderWebServices.java:474)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
at 
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at 
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at 
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at 
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772)
at 
org.apache.hadoop.yarn.server.timelineservice.reader.security.TimelineReaderWhitelistAuthorizationFilter.doFilter(TimelineReaderWhitelistAuthorizationFilter.java:85)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at 
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:644)
at 
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:592)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at 
org.apache.hadoop.security.http.CrossOriginFilter.doFilter(CrossOriginFilter.java:98)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at 
org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1604)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at 
org.eclipse.jetty.server.session.Sess

Apache Hadoop qbt Report: trunk+JDK8 on Linux/x86

2018-07-26 Thread Apache Jenkins Server
For more details, see 
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/849/

No changes




-1 overall


The following subsystems voted -1:
asflicense findbugs pathlen unit xml


The following subsystems voted -1 but
were configured to be filtered/ignored:
cc checkstyle javac javadoc pylint shellcheck shelldocs whitespace


The following subsystems are considered long running:
(runtime bigger than 1h  0m  0s)
unit


Specific tests:

Failed CTEST tests :

   test_test_libhdfs_threaded_hdfs_static 
   test_libhdfs_threaded_hdfspp_test_shim_static 

Failed junit tests :

   hadoop.util.TestDiskCheckerWithDiskIo 
   hadoop.util.TestBasicDiskValidator 
   hadoop.hdfs.web.TestWebHdfsTimeouts 
   hadoop.hdfs.server.namenode.ha.TestDFSUpgradeWithHA 
   hadoop.hdfs.qjournal.server.TestJournalNodeSync 
   hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher 
   hadoop.mapred.TestMRTimelineEventHandling 
  

   cc:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-compile-cc-root.txt
  [4.0K]

   javac:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-compile-javac-root.txt
  [332K]

   checkstyle:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-checkstyle-root.txt
  [4.0K]

   pathlen:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/pathlen.txt
  [12K]

   pylint:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-patch-pylint.txt
  [24K]

   shellcheck:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-patch-shellcheck.txt
  [20K]

   shelldocs:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-patch-shelldocs.txt
  [16K]

   whitespace:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/whitespace-eol.txt
  [9.4M]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/whitespace-tabs.txt
  [1.1M]

   xml:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/xml.txt
  [4.0K]

   findbugs:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-hdds_client.txt
  [56K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-hdds_container-service.txt
  [52K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-hdds_framework.txt
  [12K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-hdds_server-scm.txt
  [56K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-hdds_tools.txt
  [16K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-ozone_client.txt
  [4.0K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-ozone_common.txt
  [28K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-ozone_objectstore-service.txt
  [4.0K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-ozone_ozone-manager.txt
  [4.0K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-ozone_ozonefs.txt
  [8.0K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/branch-findbugs-hadoop-ozone_tools.txt
  [4.0K]

   javadoc:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/diff-javadoc-javadoc-root.txt
  [760K]

   CTEST:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/patch-hadoop-hdfs-project_hadoop-hdfs-native-client-ctest.txt
  [116K]

   unit:

   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
  [192K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
  [336K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-native-client.txt
  [112K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
  [80K]
   
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/843/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-applications_hadoop-yarn-applicatio

[jira] [Created] (YARN-8590) Fair scheduler promotion does not update container execution type and token

2018-07-26 Thread Haibo Chen (JIRA)
Haibo Chen created YARN-8590:


 Summary: Fair scheduler promotion does not update container 
execution type and token
 Key: YARN-8590
 URL: https://issues.apache.org/jira/browse/YARN-8590
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: fairscheduler
Affects Versions: YARN-1011
Reporter: Haibo Chen
Assignee: Haibo Chen


Fair Scheduler promotion of opportunistic containers does not update container 
execution type and token. This leads to incorrect resource accounting when the 
promoted containers are released.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



[jira] [Created] (YARN-8589) ATS TimelineACLsManager checkAccess is slow

2018-07-26 Thread Prabhu Joseph (JIRA)
Prabhu Joseph created YARN-8589:
---

 Summary: ATS TimelineACLsManager checkAccess is slow
 Key: YARN-8589
 URL: https://issues.apache.org/jira/browse/YARN-8589
 Project: Hadoop YARN
  Issue Type: Bug
  Components: timelineserver
Affects Versions: 2.7.3
Reporter: Prabhu Joseph


ATS rest api is very slow when there are more than 1lakh entries if 
yarn.acl.enable is set to true as TimelineACLsManager has to check access for 
every entries. We can;t disable yarn.acl.enable as all the YARN ACLs uses the 
same config. We can have a separate config to provide read access to the ATS 
Entries.

{code}
curl  http://:8188/ws/v1/timeline/HIVE_QUERY_ID
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



[jira] [Created] (YARN-8588) Logging improvements for better debuggability

2018-07-26 Thread Suma Shivaprasad (JIRA)
Suma Shivaprasad created YARN-8588:
--

 Summary: Logging improvements for better debuggability
 Key: YARN-8588
 URL: https://issues.apache.org/jira/browse/YARN-8588
 Project: Hadoop YARN
  Issue Type: Sub-task
Reporter: Suma Shivaprasad
Assignee: Suma Shivaprasad


Capacity allocations decided in GuaranteedCapacityOvertimePolicy are available 
via AutoCreatedLeafQueueConfig. However this class lacks a toString and some 
other DEBUG level logs are needed for better debuggability



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



[jira] [Created] (YARN-8587) Delays are noticed to launch docker container

2018-07-26 Thread Yesha Vora (JIRA)
Yesha Vora created YARN-8587:


 Summary: Delays are noticed to launch docker container
 Key: YARN-8587
 URL: https://issues.apache.org/jira/browse/YARN-8587
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 3.1.1
Reporter: Yesha Vora


Launch dshell application. Wait for application to go in RUNNING state.
{code:java}
yarn  jar /xx/hadoop-yarn-applications-distributedshell-*.jar  -shell_command 
"sleep 300" -num_containers 1 -shell_env YARN_CONTAINER_RUNTIME_TYPE=docker 
-shell_env YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=httpd:0.1 -shell_env 
YARN_CONTAINER_RUNTIME_DOCKER_DELAYED_REMOVAL=true -jar 
/usr/hdp/current/hadoop-yarn-client/hadoop-yarn-applications-distributedshell-xx.jar
{code}
Find out container allocation. Run docker inspect command for docker containers 
launched by app.

Sometimes, the container is allocated to NM but docker PID is not up.
{code:java}
Command ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null xxx 
"sudo su - -c \"docker ps  -a | grep 
container_e02_1531189225093_0003_01_02\" root" failed after 0 retries 
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



Apache Hadoop qbt Report: trunk+JDK8 on Windows/x64

2018-07-26 Thread Apache Jenkins Server
For more details, see https://builds.apache.org/job/hadoop-trunk-win/539/

[Jul 25, 2018 12:43:49 PM] (nanda) HDDS-285. Create a generic Metadata 
Iterator. Contributed by Bharat
[Jul 25, 2018 1:25:26 PM] (nanda) HDDS-266. Integrate checksum into .container 
file. Contributed by
[Jul 25, 2018 1:29:05 PM] (bibinchundatt) YARN-8577. Fix the broken anchor in 
SLS site-doc. Contributed by Weiwei
[Jul 25, 2018 2:57:03 PM] (nanda) HDDS-288. Fix bugs in OpenContainerBlockMap. 
Contributed by Tsz Wo
[Jul 25, 2018 3:39:11 PM] (msingh) HADOOP-15395. DefaultImpersonationProvider 
fails to parse proxy user
[Jul 25, 2018 4:22:04 PM] (ericp) YARN-4606. CapacityScheduler: applications 
could get starved because
[Jul 25, 2018 6:04:18 PM] (weichiu) HDFS-11060. make 
DEFAULT_MAX_CORRUPT_FILEBLOCKS_RETURNED configurable.
[Jul 25, 2018 10:49:30 PM] (eyang) YARN-8330.  Improved publishing ALLOCATED 
events to ATS.
[Jul 26, 2018 10:08:28 AM] (yqlin) HADOOP-15611. Log more details for 
FairCallQueue. Contributed by Ryan


[Error replacing 'FILE' - Workspace is not accessible]

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

[jira] [Created] (YARN-8586) Extract log aggregation related fields and methods from RMAppImpl

2018-07-26 Thread Szilard Nemeth (JIRA)
Szilard Nemeth created YARN-8586:


 Summary: Extract log aggregation related fields and methods from 
RMAppImpl
 Key: YARN-8586
 URL: https://issues.apache.org/jira/browse/YARN-8586
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Szilard Nemeth
Assignee: Szilard Nemeth


Given that RMAppImpl is already above 2000 lines and it is very complex, as a 
very simple 
and straightforward step, all Log aggregation related fields and methods could 
be extracted to a new class.
The clients of RMAppImpl may access the same methods and RMAppImpl would 
delegate all those calls to the newly introduced class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



[jira] [Created] (YARN-8585) Add test class for DefaultAMSProcessor

2018-07-26 Thread Szilard Nemeth (JIRA)
Szilard Nemeth created YARN-8585:


 Summary: Add test class for DefaultAMSProcessor
 Key: YARN-8585
 URL: https://issues.apache.org/jira/browse/YARN-8585
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Szilard Nemeth
Assignee: Szilard Nemeth


Since this class has no test coverage at all, it seems to be a good idea to 
test it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org



[jira] [Created] (YARN-8584) Several typos in Log Aggregation related classes

2018-07-26 Thread Szilard Nemeth (JIRA)
Szilard Nemeth created YARN-8584:


 Summary: Several typos in Log Aggregation related classes
 Key: YARN-8584
 URL: https://issues.apache.org/jira/browse/YARN-8584
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Szilard Nemeth
Assignee: Szilard Nemeth


There are typos in comments, log messages, method names, field names, etc.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org