Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BFF8101F9 for ; Sun, 2 Nov 2014 23:09:41 +0000 (UTC) Received: (qmail 64196 invoked by uid 500); 2 Nov 2014 23:09:38 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 64119 invoked by uid 500); 2 Nov 2014 23:09:38 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 64106 invoked by uid 99); 2 Nov 2014 23:09:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2014 23:09:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.43 as permitted sender) Received: from [209.85.213.43] (HELO mail-yh0-f43.google.com) (209.85.213.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2014 23:09:34 +0000 Received: by mail-yh0-f43.google.com with SMTP id f73so153615yha.2 for ; Sun, 02 Nov 2014 15:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PA7TzKIHkHmMP/JSNwdA0LjtomCTNCYyGTxrcZEKPko=; b=w7R0xxKOVL8YavDfEi6UxJFSTAGF226PTeClvYYp73UoC/UvtYBVMirsStNk4h6Fb4 APVR41SSUXzVHFUhGzcyrlqBuMTL7rseyDY7j1oaZsn/+hmCeBIhhZSiRynarBoESI/Y iljaIJedwNJ70/03DUmQ6sxvfzjt33TF5TQzZ46oWt3aTR5k9tqpj6fiIDDgOihjFGlz kiob9Jf31XzJG3STu4D539gVAun96C86WRt3slx4BZpMp4MEagn5bH3uFm5peQqhFjS+ ikrNMTmxrCXQ0i9gXEltoUcKu4TXQxHbFjRH2ml3auxZ2zN4fl9Vtd/eV9wcODyMnr1U fgqA== MIME-Version: 1.0 X-Received: by 10.236.47.195 with SMTP id t43mr16947990yhb.33.1414969753304; Sun, 02 Nov 2014 15:09:13 -0800 (PST) Received: by 10.170.180.7 with HTTP; Sun, 2 Nov 2014 15:09:13 -0800 (PST) In-Reply-To: References: Date: Sun, 2 Nov 2014 15:09:13 -0800 Message-ID: Subject: Re: No applicable class implementing Serialization in conf at io.serializations: class org.apache.hadoop.hbase.client.Put From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c2183283831e0506e8514a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2183283831e0506e8514a Content-Type: text/plain; charset=UTF-8 bq. context.write(hbaseKey, put); //Exception here I am not mrunit expert. But as long as you call the following method prior to the above method invocation, you should be able to proceed: conf.setStrings("io.serializations", conf.get("io.serializations"), MutationSerialization.class.getName(), ResultSerialization.class .getName(), KeyValueSerialization.class.getName()); Cheers On Sun, Nov 2, 2014 at 2:24 PM, Sean Busbey wrote: > On Sun, Nov 2, 2014 at 4:11 PM, Serega Sheypak > wrote: > > > Sean, I've started to catch that serialization problem on unit-test level > > while using mrunit. > > I don't see any possibility to call > > HFileOutputFormat.configureIncrementalLoad > > before mrunit mocking stuff. > > I was workngi w/o any problem in 0.94 :) > > > > > > > Ah. Well, that sounds like a bug in MRUnit for dealing with HBase 0.96+. > > As Ted mentioned, you'll have more luck on the mrunit mailing list for > figuring that bit out. > > -- > Sean > --001a11c2183283831e0506e8514a--