You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2010/03/17 23:13:27 UTC

[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

     [ 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 
{code}
bin/hadoop org.apache.hadoop.ipc.MiniRPCBenchmark
{code}
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 time. 
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.