Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4FDD1200C72 for ; Thu, 27 Apr 2017 17:11:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4E7A3160BA7; Thu, 27 Apr 2017 15:11:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 94F08160BB2 for ; Thu, 27 Apr 2017 17:11:09 +0200 (CEST) Received: (qmail 59094 invoked by uid 500); 27 Apr 2017 15:11:08 -0000 Mailing-List: contact dev-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flume.apache.org Delivered-To: mailing list dev@flume.apache.org Received: (qmail 59045 invoked by uid 99); 27 Apr 2017 15:11:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2017 15:11:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E0680C0026 for ; Thu, 27 Apr 2017 15:11:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qYur1lYGl89w for ; Thu, 27 Apr 2017 15:11:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6A76B5FBE5 for ; Thu, 27 Apr 2017 15:11:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AA6AAE0BD5 for ; Thu, 27 Apr 2017 15:11:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 44DFE21DE1 for ; Thu, 27 Apr 2017 15:11:04 +0000 (UTC) Date: Thu, 27 Apr 2017 15:11:04 +0000 (UTC) From: "sri kalyan kasyap vundrakonda (JIRA)" To: dev@flume.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLUME-3088) Flume channel failed to initialize log replay MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Apr 2017 15:11:10 -0000 sri kalyan kasyap vundrakonda created FLUME-3088: ---------------------------------------------------- Summary: Flume channel failed to initialize log replay Key: FLUME-3088 URL: https://issues.apache.org/jira/browse/FLUME-3088 Project: Flume Issue Type: Bug Components: Channel Affects Versions: 1.4.0 Environment: Pivotal HD 2.0.1.0,Hadoop v.2.2,Flume 1.4.0 Reporter: sri kalyan kasyap vundrakonda Fix For: 1.4.0 Before this issue came up I found an issue with protobuf-java version is not in sync with hadoop protobuf-java version so I moved the one from flume directory.Later, I configured my sources.type=spooldir and channels.type=memory and sink.type as HDFS it worked fine.Now when I tried with channels.type=file and I configured its checkpointdirs and datadirs it gives me an error saying (From log) 27 Apr 2017 07:47:51,901 ERROR [lifecycleSupervisor-1-0] (org.apache.flume.channel.file.Log.replay:476) - Failed to initialize Log on [channel=chan1] java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses. at com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180) at org.apache.flume.channel.file.proto.ProtosFactory$Checkpoint.getSerializedSize(ProtosFactory.java:233) at com.google.protobuf.AbstractMessageLite.writeDelimitedTo(AbstractMessageLite.java:84) at org.apache.flume.channel.file.EventQueueBackingStoreFileV3.(EventQueueBackingStoreFileV3.java:111) at org.apache.flume.channel.file.EventQueueBackingStoreFactory.get(EventQueueBackingStoreFactory.java:70) at org.apache.flume.channel.file.Log.replay(Log.java:412) at org.apache.flume.channel.file.FileChannel.start(FileChannel.java:302) at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 27 Apr 2017 07:47:51,904 ERROR [lifecycleSupervisor-1-0] (org.apache.flume.channel.file.FileChannel.start:313) - Failed to start the file channel [channel=chan1] java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses. at com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180) at org.apache.flume.channel.file.proto.ProtosFactory$Checkpoint.getSerializedSize(ProtosFactory.java:233) at com.google.protobuf.AbstractMessageLite.writeDelimitedTo(AbstractMessageLite.java:84) at org.apache.flume.channel.file.EventQueueBackingStoreFileV3.(EventQueueBackingStoreFileV3.java:111) at org.apache.flume.channel.file.EventQueueBackingStoreFactory.get(EventQueueBackingStoreFactory.java:70) at org.apache.flume.channel.file.Log.replay(Log.java:412) at org.apache.flume.channel.file.FileChannel.start(FileChannel.java:302) at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) I don't know where I am wrong is it versioning problem.Please help on this. -- This message was sent by Atlassian JIRA (v6.3.15#6346)