hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment
Date Wed, 17 Mar 2010 22:13:27 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Konstantin Shvachko updated HADOOP-6637:

    Attachment: miniRPCBenchmark.patch

The patch includes MiniRPCBenchmark, the test, and the change to the script file, which makes
the benchmark runnable using 
bin/hadoop org.apache.hadoop.ipc.MiniRPCBenchmark
An excerpt from JavaDoc:
{{MiniRPCBenchmark}} measures time to establish an RPC connection to a secure RPC server.
It sequentially establishes connections the specified number of times, and calculates the
average time taken to connect. The time to connect includes the server side authentication
The benchmark supports three authentication methods:
# simple - no authentication. In order to enter this mode the configuration file {{core-site.xml}}
should specify {{hadoop.security.authentication = simple}}. This is the default mode.
# kerberos - kerberos authentication. In order to enter this mode the configuration file {{core-site.xml}}
should specify {{hadoop.security.authentication = kerberos}} and the argument string should
provide qualifying keytabFile and userName parameters.
# delegation token - authentication using delegation token. In order to enter this mode the
benchmark should provide all the mentioned parameters for kerberos authentication plus the
useToken argument option. 

Input arguments:
* numIterations - number of connections to establish
* keytabFile - keytab file for kerberos authentication
* userName - principal name for kerberos authentication
* useToken - should be specified for delegation token authentication
* logLevel - logging level, see Level

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>         Attachments: miniRPCBenchmark.patch
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message