You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chukwa.apache.org by as...@apache.org on 2009/10/28 00:27:13 UTC
svn commit: r830399 - in /hadoop/chukwa/branches/chukwa-0.3: CHANGES.txt
NOTICE.txt
src/java/org/apache/hadoop/chukwa/datacollection/writer/SocketTeeWriter.java
Author: asrabkin
Date: Tue Oct 27 23:27:13 2009
New Revision: 830399
URL: http://svn.apache.org/viewvc?rev=830399&view=rev
Log:
CHUKWA-407. PatternSyntaxExceptions should be sent to client. Contributed by thushara wijeratna.
Modified:
hadoop/chukwa/branches/chukwa-0.3/CHANGES.txt
hadoop/chukwa/branches/chukwa-0.3/NOTICE.txt
hadoop/chukwa/branches/chukwa-0.3/src/java/org/apache/hadoop/chukwa/datacollection/writer/SocketTeeWriter.java
Modified: hadoop/chukwa/branches/chukwa-0.3/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.3/CHANGES.txt?rev=830399&r1=830398&r2=830399&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.3/CHANGES.txt (original)
+++ hadoop/chukwa/branches/chukwa-0.3/CHANGES.txt Tue Oct 27 23:27:13 2009
@@ -152,6 +152,8 @@
BUG FIXES
+ CHUKWA-407. PatternSyntaxExceptions should be sent to client. (thushara wijeratna via asrabkin)
+
CHUKWA-402. Added readme and license notice file. (asrabkin)
CHUKWA-401. Fix race condition in Dir Tailing adaptor test case. (asrabkin)
Modified: hadoop/chukwa/branches/chukwa-0.3/NOTICE.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.3/NOTICE.txt?rev=830399&r1=830398&r2=830399&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.3/NOTICE.txt (original)
+++ hadoop/chukwa/branches/chukwa-0.3/NOTICE.txt Tue Oct 27 23:27:13 2009
@@ -7,6 +7,10 @@
Chukwa incorporates a number of components, not copyright by the Apache
Foundation, and under permissive licenses.
+
+Chukwa uses JUnit for testing. JUnit is under the Common Public License: http://junit.sourceforge.net/cpl-v10.html
+* Available from http://junit.sourceforge.net/
+
Script.aculo.us is Copyright © 2005-2008 Thomas Fuchs, under a BSD License
* http://script.aculo.us/
Modified: hadoop/chukwa/branches/chukwa-0.3/src/java/org/apache/hadoop/chukwa/datacollection/writer/SocketTeeWriter.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.3/src/java/org/apache/hadoop/chukwa/datacollection/writer/SocketTeeWriter.java?rev=830399&r1=830398&r2=830399&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.3/src/java/org/apache/hadoop/chukwa/datacollection/writer/SocketTeeWriter.java (original)
+++ hadoop/chukwa/branches/chukwa-0.3/src/java/org/apache/hadoop/chukwa/datacollection/writer/SocketTeeWriter.java Tue Oct 27 23:27:13 2009
@@ -159,6 +159,7 @@
sock.setSoTimeout(timeout);
sock.setKeepAlive(USE_KEEPALIVE);
in = new BufferedReader(new InputStreamReader(sock.getInputStream()));
+ out = new DataOutputStream(sock.getOutputStream());
String cmd = in.readLine();
if(!cmd.contains(" ")) {
@@ -175,7 +176,6 @@
String cmdAfterSpace = cmd.substring(cmd.indexOf(' ')+1);
rules = new Filter(cmdAfterSpace);
- out = new DataOutputStream(sock.getOutputStream());
//now that we read everything OK we can add ourselves to list, and return.
synchronized(tees) {