From user-return-11550-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Sun Jul 15 18:38:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 68804180621 for ; Sun, 15 Jul 2018 18:38:09 +0200 (CEST) Received: (qmail 40664 invoked by uid 500); 15 Jul 2018 16:38:08 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 40650 invoked by uid 99); 15 Jul 2018 16:38:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2018 16:38:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 02D801A3D99 for ; Sun, 15 Jul 2018 16:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.889 X-Spam-Level: ** X-Spam-Status: No, score=2.889 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SwwDaTV9I8Sz for ; Sun, 15 Jul 2018 16:38:00 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 368C45F39F for ; Sun, 15 Jul 2018 16:38:00 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id s11-v6so29537877wra.13 for ; Sun, 15 Jul 2018 09:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=SuF+NBvhCHdn28K/KDLhMgRqjz/5DC3k7gucrzQ/wrI=; b=aO/3TSSwWjMrxInWyKQf1Rkns8Gv9VEM3pNkNcq5Jne8AMbSHp856mlW/doEgyrpH4 xxLgV2WaFQg4mNNLlkFE8+dxf9BQVJlWVK8wZ/PLR62/ogRa4dSbM9jyn7SVEGBE1xOz 4Lcbz2ctab1eaXyr7AfvWXVLgTDSgkgTYaX7QbuqMGbxg6kGaEgONH3Be4/OYcMIi+79 76CIMXy+8hbfXX1ULfAX5gRLM5QyihdvtPVstbO286z/pzMupJwFlc7hfbWWSY3qgcV6 FwFeks0O08IyshOHzBIhOuM1vUsU79qW9JKzI6aE0F+ECrfofay30rd97iUrjPEGY9br 8Y/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=SuF+NBvhCHdn28K/KDLhMgRqjz/5DC3k7gucrzQ/wrI=; b=f/umLOnnA6Egzeb6d9PSHrDhvDH55vXdGt2tTWIOMkCFAYACFPnGgb208/pu81VZwS A4f7u7yymDGUlrgUQLW7zTku2ndUeaUfKVk6gx79LFgf1Ifc+e2DH7MQp8ujreHc7aVM MbiEq5y2B0lU2qw+N6n8kVCH7rPrqAGleURnrqQs2M0C5PWloxMmnbfxkLARDOUfrrBJ K3FqCgplCcvo0s/ckAaEv8Sk8EodO/BK7onKkWqmqZ29M7C648Elfa9O2tRcqD1KLKJr tE591bPePorEQ4lKRjGqML9tRfIjotiEgidlH+IcDHUKXuY2/1H4eA5258f0It+39zvR aFsQ== X-Gm-Message-State: AOUpUlE//e2n8sC6ZLeasnZ5TIcoyEqFB0x4VyBC04IiFyvpu1q8EPL9 DbKkWjVEjSmTyFmotGC3nXuy06Izz/SUQlbGN+ykLQ== X-Google-Smtp-Source: AAOMgpdcAnzbJfhHGSXIy0RP+w+eMMAKgDHxx6d6DhdnB+aIC2TcVEmrwmRoC2NAXxso3/srEisH8IWKMNo3Nf7XY+I= X-Received: by 2002:adf:81c3:: with SMTP id 61-v6mr9994935wra.120.1531672673759; Sun, 15 Jul 2018 09:37:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Enrico Olivelli Date: Sun, 15 Jul 2018 18:37:42 +0200 Message-ID: Subject: Re: concept question for zookeeper To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="000000000000a1b59a05710c55c1" --000000000000a1b59a05710c55c1 Content-Type: text/plain; charset="UTF-8" Il dom 15 lug 2018, 18:09 ZongtianHou ha scritto: > Yes, it have a detailed guide about how to install and start, program with > APIs, but the basic concept and theory seem too short for me. So, I wonder > if I have set up kerberos for it in order to use it in a secured hdfs > cluster and I keep get error in SASL authentication, the log is below > java.io.IOException: Could not configure server because SASL configuration > did not allow the ZooKeeper server to authenticate itself properly: > javax.security.auth.login.LoginException: No password provided > So your problem is mostly about configuring HDFS? Kerberos/SASL config is only a matter of setting jaas.conf and the keytabs, I don't know how to give good referenced for HDFS Your error seems mostly a problem with bad keytab configuration Enrico > On 15 Jul 2018, at 11:23 PM, Enrico Olivelli wrote: > > > > Hi, > > Did you check the docs on zookeeper.apache.org ? > > > > Cheers > > Ebr > > > > Il dom 15 lug 2018, 17:02 ZongtianHou > ha > > scritto: > > > >> Hi,everyone: > >> I am new to zookeeper, I have set up kerberos for a hdfs cluster, I want > >> to know if I have to set up kerberos for zookeeper if I want to use it > in > >> the secured hdfs cluster. And, if there is a document which explain the > >> concept and theory in zookeeper, like learner, server, follower, and > how > >> they work with each other to achieve the distribution coordination, how > can > >> I change their behaviour with conf files, since the overview in official > >> site is quite simple and quick jump into the API. Thanks very much for > some > >> clues!! > > > > -- > > > > > > -- Enrico Olivelli > > -- -- Enrico Olivelli --000000000000a1b59a05710c55c1--