Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Exception causing close of session 0x12d99f469c20000 due to java.io.IOException: Read error

Atomic Compare-and-swap like operations
(33 lines)
Extracting Zab from Zookeeper
(18 lines)
Jan 18, 2011
Murali Krishna. P
Murali Krishna. P
Hi All, 

Getting the following error in consistently zookeeper after a restart of
the 
cluster. I am using 3.2.2 version of zookeeper with 2 nodes and both
instances 
are getting similar errors now. Appreciate any fix. My client systems are
hbase 
and katta.

404548 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Connected to /XXXX:60358
lastZxid 
77309412298
404548 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Renewing session
0x12d99f469c20001
404549 [QuorumPeer:/0:0:0:0:0:0:0:0:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Finished init of
0x12d99f469c20001 
valid:true
405219 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Connected to
/10.216.88.60:35400 
lastZxid 77309412295
405219 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Renewing session
0x12d99bd1f780004
405221 [QuorumPeer:/0:0:0:0:0:0:0:0:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Finished init of
0x12d99bd1f780004 
valid:true
406831 [NIOServerCxn.Factory:2181] WARN  
org.apache.zookeeper.server.NIOServerCnxn  - Exception causing close of
session 
0x12d99f469c20000 due to java.io.IOException: Read error
406832 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - closing
session:0x12d99f469c20000 
NIOServerCnxn: java.nio.channels.SocketChannel[connected 
local=/10.216.88.60:2181 remote=/XXXX:60356]
407861 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Connected to /XXXX:60360
lastZxid 
77309412258
407861 [NIOServerCxn.Factory:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn  - Renewing session
0x12d99f469c20000



 Thanks,
Murali Krishna


Reply
Tags: zookeeperinstances
Exception causing close of session
August 26, 2010 06:04:04 PM
Hi, zookeeper-3.2.2 is used out of HBase 0.20.5 Linux sjc1-.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux In hbase-hadoop-zookeeper-sjc1-cml-grid00.log, I see a lot of the following: 2010-08-26 22:58:01,930…
Failed with exception java.io.IOException:java.lang.NullPointerException
July 30, 2010 08:58:04 PM
We are importing hadoop logs inside hive, but are running in some issues. Sample log lines: 2010-02-25 14:27:18,000 INFO org.apache.hadoop.mapred.TaskTracker: SHUTDOWN_MSG: Query: SELECT * FROM logs_temp; runs fine for the above statement. …
DFSClient: DataStreamer Exception: java.io.IOException: Broken pipe
August 7, 2010 02:10:46 PM
I am running a MR import job to hbase and one out of 8 RS' died with the following errors in regionserver and datanode logs. Googling returned a discussion that indicates setting dfs.datandoe.socket.write.timeout=0 may help the situation. Please…
help with exception: "IOException while saving persisted sessions: java.io.FileNotFoundExcepti
July 30, 2010 01:37:41 AM
Running Tomcat 7.0.0 under Eclipse on Windows XP SP3. When I save a change to my app and Tomcat reloads whatever it reloads, I get the following exception. I did some web searching but to no avail. The directory C:\Documents and…
server logs an 'Unexpected Exception' error on any client close?
October 29, 2010 05:13:56 PM
For a while I thought this was the perl client not calling zookeeper_close() properly, but I can reproduce this using the example c_client code from the twiki as well. …
HIVE-1510 causing partToPartitionInfo IOException with CombinedHiveInputFormat
September 1, 2010 06:34:15 PM
Hi, I have a relatively complicated hive query using CombinedHiveInputFormat: set hive.exec.dynamic.partition.mode=nonstrict; set hive.exec.dynamic.partition=true; set hive.exec.max.dynamic.partitions=1000; set…
Java exception: '-1: java.lang.ArrayIndexOutOfBoundsException' error
May 26, 2010 05:12:31 AM
Hi, I have an intensive data-processing application which utilises Apache Derby Version - 10.3.1.4. My Customer is running this application on Windows 2003 Service Pack 2 and has 1.6 GB derby database size. Application has crashed after…
session.logout throws Exception : Inactive logical session handle called
August 12, 2010 03:36:39 AM
Hi,Can someone help me with the following problem.I have a stateless session bean which has the following methods: @PostConstruct private void initialize(){ try { session = repository.login(new SimpleCredentials("username",…
closing session on socket close vs waiting for timeout
August 31, 2010 10:59:25 AM
All, I'm working on a ZK deployment that will support a heterogeneous set of processes connecting to the ZK and creating ephemeral nodes. We have the conflicting requirements that: a) If a process crashes (closes its socket) without calling a…
re: why does regionserver close with exception
July 16, 2010 12:14:57 PM
1)I found one of my regionserver close with exception, why does this happen?? I see this in your log: 2010-07-15 20:17:31,260 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: unable to report to master for 295729663 milliseconds -…
why does regionserver close with exception
July 16, 2010 02:47:16 AM
1)I found one of my regionserver close with exception, why does this happen?? 2) I have 3 machine run hbase: one runs master, the other two run regionserver, each machine run zookeeper. and I set HBASE_HEAPSIZE=4000 and use 64-bit jdk 3)…
java.lang.RuntimeException: java.io.IOException: Value too large for defined data type
June 15, 2010 01:58:51 PM
I am running a 10 node cassandra 0.6.1 cluster with a replication factor of 3. To populate the database to perform my read benchmarking, I have 8 applications using Thrift, each connecting to a different cassandra server and writing 100,000…
MongoDB replica set - Java Driver - java.io.IOException connection issue
October 25, 2010 05:10:20 PM
I have created MongoDB replica set and trying to connect to replica set after fail over of one of the the node.. I am getting following exception. paired mode, switching master b/c of: java.io.IOException: couldn't connect to…
Updated: (HIVE-220) incorrect log directory in TestMTQueries causing null pointer exception
July 23, 2010 01:02:53 PM
[ https://issues.apache.org/jira/browse/HIVE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach updated HIVE-220:
Created: (CXF-3229) Generated Exception files should extend java.lang.Exception, not Exception
January 4, 2011 06:12:10 AM
Generated Exception files should extend java.lang.Exception, not Exception
Closed: (DERBY-4142) java.lang.VerifyError causing java.sql.SQLException: Cannot create an instance
January 13, 2011 03:11:11 PM
[ https://issues.apache.org/jira/browse/DERBY-4142?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren closed DERBY-4142.
select count(1) causes java.io.IOException
January 3, 2011 07:56:40 AM
Hi there, I'am trying the jdbc example http://wiki.apache.org/hadoop/Hive/HiveClient#JDBC and getting that for the select count(1) query 11/01/03 12:34:35 INFO exec.MapRedTask: Generating plan file…
RE: select count(1) causes java.io.IOException
January 3, 2011 03:48:01 PM
solved in thread "select count(1)" on Mon, 03 Jan
svn commit: r980411 - in /tomcat/trunk/java/org/apache/catalina: ha/session/ session/
July 29, 2010 06:49:48 AM
Author: markt Date: Thu Jul 29 11:49:47 2010 New Revision: 980411 URL: http://svn.apache.org/viewvc?rev=980411&view=rev Log: Refactoring - reduce duplication Handle maxActiveSessions, rejectedSessions and processingTime in ManagerBase …
svn commit: r980418 - in /tomcat/trunk/java/org/apache/catalina: ha/session/ session/
July 29, 2010 07:10:52 AM
Author: markt Date: Thu Jul 29 12:10:51 2010 New Revision: 980418 URL: http://svn.apache.org/viewvc?rev=980418&view=rev Log: Refactoring Move propertyChange() implementation to ManagerBase to reduce code duplication Modified: …
Read a secure session cookie in java
January 12, 2011
I have a secure session cookie set. I know it's there since I'm seeing it on the chrome developer tools console and on firebug in FF. When I try to…
Access applet through SSL throw error java.io.IOException: open HTTP connection failed and more
December 28, 2010
When I run an applet on localhost or internal system this applet works fine. (I already sign all jar file) But when I access it through SSL it throw…
Http connection with google results in: java.io.IOException: 4-Error in HTTP operation
January 5, 2011
I get the following error when trying to connect to Google's Client Login. Sometimes I get a fast result, other times a really slow one en sometimes…
What is causing a Hibernate SQL query exception?
January 12, 2011
Hi all and sorry in advance for this post but I've spent way too much time going around in circles so I'm hoping someone could shed a light on it…
Java.security.AccessControlException: access denied (java.io.FilePermission /usr/share/java/jsp-api-2.0.jar read)
January 14, 2011
I am trying to deploy me application to Tomcat 5.5 on Debian Lenny. I am getting the following exception: java.security.AccessControlException:…
Cassandra.bat throws java.io.IOException: rename failed of LocationInfo-e -1-Data.db in 0.7rc1
November 27, 2010
I've followed the Getting Started instructions for single node and it worked fine in cassandra-0.7beta2. But when trying to do the same for…
Php_value auto_prepend - causing 500 error?
January 12, 2011
I have a project which uses the following in .htaccess: php_value auto_prepend_file /home/-path-here/prepend.php This works fine on my local WAMP…
JFTP in Joomla - ftp_put in PHP causing a 550 Error
January 17, 2011
I have been trying to install Joomla 1.5 on server running Ubuntu 10.10 and Apache2 with a mysql database. I have PHP5 installed, and the first part…
Not sure why 'java.net.ConnectException: Connection timed out: connect' exception is occuring
January 14, 2011
Hi, The below thread is in a loop and it just connects to a server, downloads a file, closes the connection and then repeats the process. The below…
Java + sqlite: how to open database as read-only?
January 1, 2011
I have a large database that I want to open in read-only mode... I'm using SQLiteJDBC and am not sure what to use to get it to work as read-only.…
Error in htaccess not read my images and css file
December 28, 2010
i create .htaccess and when run the page all images in my site not display and css not run. images in the folder (images/) and css in(css/). another…
VisualVM fatal error detected by Java Runtime Environment - question about log file and error
January 11, 2011
I'm using VisualVM to profile my web app on my pc. I want to see if there are any memory leaks and such. I'm running Tomcat 6.0.29 and jdk SE 1.6…
Qt ftp->list() - how to read how many bytes read
January 8, 2011
when i do ftp->list() i'm expecting to get the bytes read and show it. problem is i dont see any option for this (only to ftp->get() using…
Java Postgresql Runtime Error
January 4, 2011
I have a couple of java applications that use a postgres database. They have worked fine on many computers, but I have come across 1 computer that…
Java giving error on https request
January 5, 2011
Hi, Here is my code URL url = new URL(requestUrl); HttpsURLConnection conn = (HttpsURLConnection)url.openConnection(); BufferedReader br = new…
C# MySqlConnection won't close
January 3, 2011
Hi, I have an application that fires a mysql command (query) "show databases", the query works and returns properly but I can't close my…
Android SQLite DB When to Close
December 29, 2010
I am working with a SQLite database on android. My database manager is a singleton and right now opens a connection to the database when it is…
Every time encrypt request parameters and no use of session VS encrypt them once at login time and store them in session
January 12, 2011
Hi I have 2 systems, when i login in the 1st i silently make request to login in the 2nd, by encrypting some information and sending it with…
Android sqlite log reports and db.close()
January 11, 2011
The log reports that the database or cursor was not closed. I basically have an activity with a custom surfaceview and uses a handler to report back…
Optimal Use Of Open, Close and Emulator Slowing Down
January 16, 2011
This may be as much an Emulator issue as a Database Open/Close issue. I have an app that has several activities: three of them are used for database…