[jira] [Created] (HADOOP-17422) ABFS: Set default ListMaxResults to max server limit

2020-12-08 Thread Sumangala Patki (Jira)
Sumangala Patki created HADOOP-17422:


 Summary: ABFS: Set default ListMaxResults to max server limit
 Key: HADOOP-17422
 URL: https://issues.apache.org/jira/browse/HADOOP-17422
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: fs/azure
Affects Versions: 3.3.0
Reporter: Sumangala Patki


{{Changing value of DEFAULT_AZURE_LIST_MAX_RESULTS config to 5000, which is the 
same as the maximum number of items supported by a listPath server call.}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (HADOOP-17421) Specify user's queue via configuration in FairCallQueue

2020-12-08 Thread Janus Chow (Jira)
Janus Chow created HADOOP-17421:
---

 Summary: Specify user's queue via configuration in FairCallQueue 
 Key: HADOOP-17421
 URL: https://issues.apache.org/jira/browse/HADOOP-17421
 Project: Hadoop Common
  Issue Type: Improvement
Reporter: Janus Chow


The feature of FairCallQueue helps a lot in maintaining a fair and good service 
in a multi-tenant cluster, each user is assigned to queues with different 
priority to reach this goal. But in production, we met some problems that the 
automatic assignment won't fit, the problems are as follows:
 # We have a service account that would send more NN requests, for some 
reasons, we would like to keep this user and allow this user to keep this 
volume of operations. When we deployed FairCallQueue, this service user would 
be treated as a bad user and assigned to a lower queue, causing some slowness 
on the service account.
 # We are having more Flink jobs writing checkpoints to our NN, and the 
checkpoint operations have a characteristic that they would have a periodically 
high cost on the NN with an interval of several minutes. FairCallQueue (with 
cost-based enabled) doesn't have good control of this kind of operations 
because when this kind of operations starts, the cost in the decay window of 
this user is quite low, so the user will be assigned to queue 0, after some 
windows, when the users' high cost has got the attention and assigned to a 
lower queue, the user's operations are already finished. 

For problem 1, we noticed that there is already an option mentioned in 
HADOOP-17165, but in our case, the service account isn't that important that 
we'd allow it to always be assigned to queue 0. 

To solve these problems, we'd like to raise a solution by specifying the queue 
for some static users via config. The basic design is as follows:
 * Specify the static users in config for each queue.
 * Load the mapping from the config while initializing the callqueue.
 * Check the configured queue for each user when assigning the queue.
 * The cost time of the static users would not be count in our decay 
calculation to mitigate the impacts on other normal users' costs.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (HADOOP-17420) TestLdapGroupsMapping test failures in JDK 11

2020-12-08 Thread Borislav Iordanov (Jira)
Borislav Iordanov created HADOOP-17420:
--

 Summary: TestLdapGroupsMapping test failures in JDK 11
 Key: HADOOP-17420
 URL: https://issues.apache.org/jira/browse/HADOOP-17420
 Project: Hadoop Common
  Issue Type: Bug
  Components: common
Reporter: Borislav Iordanov


Some of the tests in TestLdapGroupsMapping rely on validating the precise text 
of a NamingException which has changed in JDK11. The message is substantially 
the same, but not identical, so tests fails. Specifically: 

testLdapConnectionTimeout

and 

testLdapReadTimeout



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (HADOOP-17419) TestNativeIO fails in SELinux security context

2020-12-08 Thread Borislav Iordanov (Jira)
Borislav Iordanov created HADOOP-17419:
--

 Summary: TestNativeIO fails in SELinux security context
 Key: HADOOP-17419
 URL: https://issues.apache.org/jira/browse/HADOOP-17419
 Project: Hadoop Common
  Issue Type: Bug
  Components: common
Affects Versions: 3.3.0
Reporter: Borislav Iordanov


As per 
[https://www.gnu.org/software/coreutils/manual/html_node/What-information-is-listed.html]
 "GNU ls uses a ‘.’ character to indicate a file with a security context, but 
no other alternate access method. The affects the parsing of the standard Unix 
file permissions format in TestNativeIO resulting in test failure.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



Apache Hadoop qbt Report: trunk+JDK11 on Linux/x86_64

2020-12-08 Thread Apache Jenkins Server
For more details, see 
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java11-linux-x86_64/83/

[Dec 8, 2020 8:08:14 AM] (noreply) HDFS-15712. Upgrade googletest to 1.10.0 
(#2523)
[Dec 8, 2020 7:25:24 PM] (noreply) HDFS-15716. WaitforReplication in 
TestUpgradeDomainBlockPlacementPolicy (#2528)
[Dec 9, 2020 1:52:31 AM] (noreply) YARN-10491. Fix deprecation warnings in 
SLSWebApp.java (#2519)


ERROR: File 'out/email-report.txt' does not exist

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

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

2020-12-08 Thread Apache Jenkins Server
For more details, see 
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/350/

[Dec 8, 2020 8:08:14 AM] (noreply) HDFS-15712. Upgrade googletest to 1.10.0 
(#2523)
[Dec 8, 2020 7:25:24 PM] (noreply) HDFS-15716. WaitforReplication in 
TestUpgradeDomainBlockPlacementPolicy (#2528)

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

Apache Hadoop qbt Report: branch-2.10+JDK7 on Linux/x86_64

2020-12-08 Thread Apache Jenkins Server
For more details, see 
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/141/

[Dec 8, 2020 8:32:31 PM] (Jim Brennan) HDFS-15716. WaitforReplication in 
TestUpgradeDomainBlockPlacementPolicy (#2528) Contributed by Ahmed Hussein

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

[jira] [Created] (HADOOP-17418) Generally support PEM keystores

2020-12-08 Thread Steve Vaughan (Jira)
Steve Vaughan created HADOOP-17418:
--

 Summary: Generally support PEM keystores
 Key: HADOOP-17418
 URL: https://issues.apache.org/jira/browse/HADOOP-17418
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Reporter: Steve Vaughan


Several Apache projects have added some minimal PEM support.  Usually this is 
presented as part of supporting generated certificates for a trust store.  By 
adding a PEM Java KeyStore to Hadoop common, we could provide this support for 
many clients.

Example:
{code:java}

  ssl.server.truststore.type
  PEM
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (HADOOP-17417) Reduce UGI overhead in token ops

2020-12-08 Thread Ahmed Hussein (Jira)
Ahmed Hussein created HADOOP-17417:
--

 Summary: Reduce UGI overhead in token ops 
 Key: HADOOP-17417
 URL: https://issues.apache.org/jira/browse/HADOOP-17417
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common, kms, performance, rpc-server, security
Reporter: Ahmed Hussein
Assignee: Ahmed Hussein


{{DelegationTokenIdentifier}} has a {{ugiCache}} but  
AbstractDelegationTokenManager calls a static method {{getRemoteUser()}} which 
would bypass the cache.

Performance analysis of the KMS revealed the RPC server layer is creating many 
and redundant UGI instances.. UGIs are not cheap to instantiate, require 
synchronization, and waste memory. Reducing instantiations will improve the 
performance of the ipc readers.



 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (HADOOP-17416) Reduce synchronization in the token secret manager

2020-12-08 Thread Ahmed Hussein (Jira)
Ahmed Hussein created HADOOP-17416:
--

 Summary: Reduce synchronization in the token secret manager
 Key: HADOOP-17416
 URL: https://issues.apache.org/jira/browse/HADOOP-17416
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common, performance, security
Reporter: Ahmed Hussein


Reducing synchronization in the ZK secret manager is complicated by excessive 
and unnecessary global synchronization in the 
AbstractDelegationTokenSecretManager.  All RPC services, not just the KMS, will 
benefit from the reduced synchronization.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



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

2020-12-08 Thread Apache Jenkins Server
For more details, see 
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/

[Dec 7, 2020 9:30:19 AM] (Ayush Saxena) HDFS-15221. Add checking of effective 
filesystem during initializing storage locations. Contributed by Yang Yun.
[Dec 7, 2020 10:52:12 AM] (Yiqun Lin) HDFS-15660. StorageTypeProto is not 
compatiable between 3.x and 2.6. Contributed by Ryan Wu.
[Dec 7, 2020 8:22:06 PM] (noreply) HDFS-15707. NNTop counts don't add up as 
expected. (#2516)
[Dec 7, 2020 11:49:45 PM] (noreply) HDFS-15709. Socket file descriptor leak in 
StripedBlockChecksumReconstructor. (#2518)
[Dec 8, 2020 12:53:24 AM] (Eric Badger) YARN-10495. make the rpath of 
container-executor configurable. Contributed by




-1 overall


The following subsystems voted -1:
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:

XML :

   Parsing Error(s): 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/nvidia-smi-output-excerpt.xml
 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/nvidia-smi-output-missing-tags.xml
 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/nvidia-smi-output-missing-tags2.xml
 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/resources/nvidia-smi-sample-output.xml
 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/resources/fair-scheduler-invalid.xml
 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/resources/yarn-site-with-invalid-allocation-file-ref.xml
 

Failed junit tests :

   hadoop.yarn.server.router.webapp.TestRouterWebServicesREST 
   hadoop.yarn.applications.distributedshell.TestDistributedShell 
   hadoop.tools.dynamometer.TestDynamometerInfra 
   hadoop.tools.dynamometer.TestDynamometerInfra 
   hadoop.yarn.sls.appmaster.TestAMSimulator 
  

   cc:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-compile-cc-root.txt
  [48K]

   javac:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-compile-javac-root.txt
  [568K]

   checkstyle:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-checkstyle-root.txt
  [16M]

   pathlen:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/pathlen.txt
  [12K]

   pylint:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-patch-pylint.txt
  [60K]

   shellcheck:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-patch-shellcheck.txt
  [20K]

   shelldocs:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-patch-shelldocs.txt
  [44K]

   whitespace:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/whitespace-eol.txt
  [13M]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/whitespace-tabs.txt
  [2.0M]

   xml:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/xml.txt
  [24K]

   javadoc:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/diff-javadoc-javadoc-root.txt
  [2.0M]

   unit:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt
  [36K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-applications_hadoop-yarn-applications-distributedshell.txt
  [16K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/patch-unit-hadoop-tools_hadoop-dynamometer_hadoop-dynamometer-infra.txt
  [8.0K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/patch-unit-hadoop-tools_hadoop-dynamometer.txt
  [24K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/349/artifact/out/patch-unit-hadoop-tools_hadoop-sls.txt
  [12K]

Powered by Apache Yetus 0.12.0   https://yetus.apache.org

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

[jira] [Created] (HADOOP-17415) Use S3 content-range header to update length of an object during reads

2020-12-08 Thread Steve Loughran (Jira)
Steve Loughran created HADOOP-17415:
---

 Summary: Use S3 content-range header to update length of an object 
during reads
 Key: HADOOP-17415
 URL: https://issues.apache.org/jira/browse/HADOOP-17415
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: fs/s3
Affects Versions: 3.3.0
Reporter: Steve Loughran


As part of all the openFile work, knowing full length of an object allows for a 
HEAD to be skipped. But: code knowing only the splits don't know the final 
length of the file.

If the content-range header is used, then as soon as a single GET is initiated 
against an object, if the field is returned then we can update the length of 
the S3A stream to its real/final length

Also: when any input stream fails with an EOF exception, we can distinguish 
stream-interrupted from "no, too far"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



Apache Hadoop qbt Report: branch-2.10+JDK7 on Linux/x86_64

2020-12-08 Thread Apache Jenkins Server
For more details, see 
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/

[Dec 7, 2020 10:56:15 AM] (Yiqun Lin) HDFS-15660. StorageTypeProto is not 
compatiable between 3.x and 2.6. Contributed by Ryan Wu.




-1 overall


The following subsystems voted -1:
asflicense hadolint jshint 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:

XML :

   Parsing Error(s): 
   hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml 
   hadoop-build-tools/src/main/resources/checkstyle/suppressions.xml 
   
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/empty-configuration.xml
 
   hadoop-tools/hadoop-azure/src/config/checkstyle-suppressions.xml 
   hadoop-tools/hadoop-azure/src/config/checkstyle.xml 
   hadoop-tools/hadoop-resourceestimator/src/config/checkstyle.xml 
   hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/public/crossdomain.xml 
   
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/public/crossdomain.xml
 

Failed junit tests :

   hadoop.hdfs.qjournal.server.TestJournalNodeRespectsBindHostKeys 
   
hadoop.hdfs.server.blockmanagement.TestReplicationPolicyWithUpgradeDomain 
   hadoop.hdfs.server.balancer.TestBalancer 
   hadoop.contrib.bkjournal.TestBookKeeperHACheckpoints 
   hadoop.contrib.bkjournal.TestBookKeeperHACheckpoints 
   hadoop.hdfs.server.federation.router.TestRouterQuota 
   hadoop.hdfs.server.federation.router.TestRouterNamenodeHeartbeat 
   hadoop.hdfs.server.federation.resolver.order.TestLocalResolver 
   hadoop.hdfs.server.federation.resolver.TestMultipleDestinationResolver 
   hadoop.yarn.server.resourcemanager.TestClientRMService 
   hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer 
   hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2 
   hadoop.mapreduce.jobhistory.TestHistoryViewerPrinter 
   hadoop.tools.TestDistCpSystem 
   hadoop.resourceestimator.service.TestResourceEstimatorService 
   hadoop.resourceestimator.solver.impl.TestLpSolver 
  

   jshint:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-patch-jshint.txt
  [208K]

   cc:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-compile-cc-root.txt
  [4.0K]

   javac:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-compile-javac-root.txt
  [456K]

   checkstyle:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-checkstyle-root.txt
  [16M]

   hadolint:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-patch-hadolint.txt
  [4.0K]

   pathlen:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/pathlen.txt
  [12K]

   pylint:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-patch-pylint.txt
  [60K]

   shellcheck:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-patch-shellcheck.txt
  [56K]

   shelldocs:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-patch-shelldocs.txt
  [8.0K]

   whitespace:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/whitespace-eol.txt
  [12M]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/whitespace-tabs.txt
  [1.3M]

   xml:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/xml.txt
  [4.0K]

   javadoc:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/diff-javadoc-javadoc-root.txt
  [20K]

   unit:

   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
  [276K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs_src_contrib_bkjournal.txt
  [12K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
  [36K]
   
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/140/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
  [112K]