Skip to content

Commit

Permalink
upgrade java wrapper to 3.5.22 and support os x
Browse files Browse the repository at this point in the history
  • Loading branch information
adyliu committed Nov 29, 2013
1 parent 19af388 commit 0ffc158
Show file tree
Hide file tree
Showing 17 changed files with 233 additions and 111 deletions.
16 changes: 15 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,18 @@ JOPT-SIMPLE LICENSE
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


-----------------------------------------------------------------------

Tanuki Software, Ltd.
Community Software License Agreement
Version 1.1

IMPORTANT-READ CAREFULLY: This license agreement is a legal agreement
between you ("Licensee") and Tanuki Software, Ltd. ("TSI"), which
includes computer software, associated media, printed materials, and
may include online or electronic documentation ( Software ). PLEASE
READ THIS AGREEMENT CAREFULLY BEFORE YOU INSTALL, COPY, DOWNLOAD OR
USE THE SOFTWARE ACCOMPANYING THIS PACKAGE.
Binary file removed bin/jafka
Binary file not shown.
Binary file added bin/jafka-linux-x86-32
Binary file not shown.
Binary file added bin/jafka-linux-x86-64
Binary file not shown.
Binary file added bin/jafka-macosx-universal-32
Binary file not shown.
Binary file added bin/jafka-macosx-universal-64
Binary file not shown.
Binary file added bin/jafka-windows-x86-32.exe
Binary file not shown.
Binary file removed bin/jafka.exe
Binary file not shown.
Binary file removed bin/jafka64
Binary file not shown.
Binary file modified bin/optional/libwrapper-linux-x86-32.so
Binary file not shown.
Binary file modified bin/optional/libwrapper-linux-x86-64.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bin/optional/wrapper-windows-x86-32.dll
Binary file not shown.
Binary file modified bin/optional/wrapper.jar
Binary file not shown.
322 changes: 215 additions & 107 deletions bin/run.sh

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/main/java/com/sohu/jafka/network/Processor.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ public void run() {
close(key);
} catch (Throwable t) {
Socket socket = channelFor(key).socket();
final String msg = "Closing socket for %s:%d becaulse of error";
final String msg = "Closing socket for %s:%d becaulse of error %s";
if (logger.isDebugEnabled()) {
logger.error(format(msg, socket.getInetAddress(), socket.getPort()), t);
logger.error(format(msg, socket.getInetAddress(), socket.getPort(), t.getMessage()), t);
} else {
logger.error(format(msg, socket.getInetAddress(), socket.getPort()));
logger.info(format(msg, socket.getInetAddress(), socket.getPort(), t.getMessage()));
}
close(key);
}
Expand Down

0 comments on commit 0ffc158

Please sign in to comment.