This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-10-24 21:56:51,681 (agent-shutdown-hook) [WARN - org.apache.flume.sink.hdfs.HDFSEventSink.stop(HDFSEventSink.java:442)] Exception while closing /logs/FlumeData. Exception follows. | |
java.net.ConnectException: Call From dev.yongbok.net/127.0.0.1 to localhost:9000 failed on connection exception: java.net.ConnectException: 연결이 거부됨; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) | |
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783) | |
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730) | |
at org.apache.hadoop.ipc.Client.call(Client.java:1351) | |
at org.apache.hadoop.ipc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[hadoop@dev ~]$ start-all.sh | |
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh | |
13/10/25 22:21:07 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable | |
Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/2.2.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now. | |
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. | |
localhost] | |
sed: -e expression #1, char 6: unknown option to `s' | |
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known | |
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known | |
Java: ssh: Could not resolve hostname Java: Name or service not known |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- gem | |
[root@dev ~]# gem install nginx_config_generator | |
example yml 생성 | |
[root@dev ~]# generate_nginx_config --example > nginx.yml | |
nginx.conf 생성 | |
[root@dev ~]# generate_nginx_config nginx.yml nginx.conf | |
=> Wrote nginx.conf successfully. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Openresty Prefix | |
prefix=/usr/local/openresty | |
# Ubuntu 12.04 | |
# Need Packege | |
sudo apt-get install -y \ | |
build-essential libreadline6-dev ncurses-dev libpcre++-dev \ | |
libssl-dev libgeoip-dev libxml2-dev libxslt-dev libgd2-xpm-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Start Hadoop (pseudo distributed mode) | |
hadoop@ruo91:~$ start-all.sh | |
- Start HttpFS | |
hadoop@ruo91:~$ httpfs.sh start | |
Setting HTTPFS_HOME: /home/hadoop/2.2.0 | |
Setting HTTPFS_CONFIG: /home/hadoop/2.2.0/etc/hadoop | |
Sourcing: /home/hadoop/2.2.0/etc/hadoop/httpfs-env.sh | |
setting HTTPFS_HTTP_HOSTNAME=your-cluster-hostname | |
Setting HTTPFS_LOG: /home/hadoop/2.2.0/logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 4; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By.ruo91 (Yongbok Kim) | |
--- Makefile.orig 2014-02-25 22:46:49.000000000 +0900 | |
+++ Makefile 2014-02-25 22:43:35.000000000 +0900 | |
@@ -611,6 +611,9 @@ | |
cd ${NAGIOS} && patch -p1 < ../patches/nagios_host_hard_state_changes.patch | |
cd ${NAGIOS} && patch -p1 < ../patches/nagios_centos5_rhel5_no_output_fix.patch | |
cd ${NAGIOS} && patch -p1 < ../patches/nagios_avoid_swamping_log_when_killing_plugin.patch | |
+ # Nagios utf-8 patch | |
+ cd ${NAGIOS} && patch -p1 < ../patches/nagios-4.0.20130912.utf8.patch | |
+ |