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
('2019-08-29 11:18:26,657 INFO MiniKdc - Configuration:\n',) | |
('2019-08-29 11:18:26,659 INFO MiniKdc - ---------------------------------------------------------------\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - debug: false\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - transport: TCP\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - max.ticket.lifetime: 86400000\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - org.name: EXAMPLE\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - kdc.port: 0\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - org.domain: COM\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - max.renewable.lifetime: 604800000\n',) | |
('2019-08-29 11:18:26,661 INFO MiniKdc - instance: DefaultKrbServer\n',) |
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
# Configuration file for cloudera-scm-agent. | |
# Please note that this file supports multi-line values. Multi-line | |
# values are indicated by indenting following lines with a space. | |
# | |
# If you have whitespace in front of a parameter name, it will be | |
# read as a continuation of the previous parameter value. Please | |
# be careful not to leave spaces in front of parameter names. | |
# | |
# To check if this file has spaces in front of parameters names | |
# you can do a grep like this: |
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
[Tue Jul 30 00:10:07 2019] Key type id_resolver registered | |
[Tue Jul 30 00:10:07 2019] Key type id_legacy registered | |
[Tue Jul 30 17:17:07 2019] INFO: task systemd-journal:1014 blocked for more than 120 seconds. | |
[Tue Jul 30 17:17:07 2019] Not tainted 4.15.0-55-generic #60-Ubuntu | |
[Tue Jul 30 17:17:07 2019] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
[Tue Jul 30 17:17:07 2019] systemd-journal D 0 1014 1 0x00000324 | |
[Tue Jul 30 17:17:07 2019] Call Trace: | |
[Tue Jul 30 17:17:07 2019] __schedule+0x291/0x8a0 | |
[Tue Jul 30 17:17:07 2019] schedule+0x2c/0x80 | |
[Tue Jul 30 17:17:07 2019] jbd2_log_wait_commit+0xb0/0x120 |
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
package com.cloudera.cmon.agent; | |
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
public class DnsTest { | |
public static void main(String[] args) throws UnknownHostException { | |
try { | |
long startTime = System.currentTimeMillis(); | |
InetAddress addr = InetAddress.getLocalHost(); |
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
Cloudera Standard License and CDH Notice | |
Cloudera Standard License | |
Version 2018-08-14 | |
THE TERMS AND CONDITIONS OF THIS CLOUDERA STANDARD LICENSE (THE “AGREEMENT”) APPLY TO YOUR USE OF OR ACCESS TO THE PRODUCTS (AS DEFINED BELOW) MADE AVAILABLE BY CLOUDERA, INC. (“CLOUDERA”). | |
PLEASE READ THIS AGREEMENT CAREFULLY. |
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
Cloudera Standard License and CDH Notice | |
Cloudera Standard License | |
Version 2018-08-14 | |
THE TERMS AND CONDITIONS OF THIS CLOUDERA STANDARD LICENSE (THE “AGREEMENT”) APPLY TO YOUR USE OF OR ACCESS TO THE PRODUCTS (AS DEFINED BELOW) MADE AVAILABLE BY CLOUDERA, INC. (“CLOUDERA”). | |
PLEASE READ THIS AGREEMENT CAREFULLY. |
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
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://ja.archive.ubuntu.com/ubuntu/ bionic main restricted | |
deb-src http://ja.archive.ubuntu.com/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://ja.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
deb-src http://ja.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
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
MAX_PRECISION = 38 | |
MAX_SCALE = MAX_PRECISION | |
MIN_ADJUSTED_SCALE = 6 | |
DECIMAL_DIVISION_SCALE_INCREMENT = 4 | |
MAX_DECIMAL4_PRECISION = 9 | |
MAX_DECIMAL8_PRECISION = 18 | |
def ps_div(p1, s1, p2, s2): | |
result_scale = max(DECIMAL_DIVISION_SCALE_INCREMENT, s1 + p2 + 1) |
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
tier1.sources = source1 | |
tier1.channels = channel1 channel2 | |
tier1.sinks = sink1 sink2 | |
tier1.sources.source1.type = org.apache.flume.source.kafka.KafkaSource | |
tier1.sources.source1.channels = channel1 channel2 | |
tier1.sources.source1.batchSize = 5000 | |
tier1.sources.source1.batchDurationMillis = 2000 | |
tier1.sources.source1.kafka.bootstrap.servers = dev-kk1.globalcomrci.com:9092 | |
tier1.sources.source1.kafka.topics = game_txs |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" Module docstring. FIXME | |
""" | |
import argparse | |
import json | |
from logging import getLogger,StreamHandler,Formatter,DEBUG,INFO | |
from os import path | |
import sys |