Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Clients Compatibility to v0.10 #1

Open
wants to merge 159 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
7710b36
Changing version to 0.9.0.0
gwenshap Nov 7, 2015
27d44af
KAFKA-2723: new consumer exception cleanup (0.9.0)
hachikuji Nov 8, 2015
32cd3e3
HOTFIX: fix group coordinator edge cases around metadata storage call…
hachikuji Nov 8, 2015
1fd79f5
KAFKA-2480: Handle retriable and non-retriable exceptions thrown by s…
ewencp Nov 9, 2015
4801322
KAFKA-2773; 0.9.0 branch)Fixed broken vagrant provision scripts for s…
Nov 9, 2015
417e283
KAFKA-2774: Rename Copycat to Kafka Connect
ewencp Nov 9, 2015
02fbdaa
KAFKA-2779; Close SSL socket channel on remote connection close
rajinisivaram Nov 9, 2015
fdefef9
KAFKA-2781; Only require signing artifacts when uploading archives.
ewencp Nov 9, 2015
7471394
KAFKA-2776: Fix lookup of schema conversion cache size in JsonConverter.
ewencp Nov 9, 2015
3aa3e85
HOTFIX: bug updating cache when loading group metadata
hachikuji Nov 9, 2015
e627558
KAFKA-2775: Move exceptions into API package for Kafka Connect.
ewencp Nov 9, 2015
4069011
KAFKA-2778: Use zero loss settings by default for Connect source prod…
ewencp Nov 9, 2015
0d2fdfa
KAFKA-2782: Fix KafkaBasedLogTest assertion and move it to the main t…
ewencp Nov 9, 2015
f22ea29
KAFKA-2258: add failover to mirrormaker test
Nov 9, 2015
e176fcc
KAFKA-2783; Drop outdated hadoop contrib modules
granthenke Nov 9, 2015
0977c03
KAFKA-2674: clarify onPartitionsRevoked behavior
hachikuji Nov 9, 2015
2e20898
MINOR: remove old producer in config sections to align with APIs
guozhangwang Nov 9, 2015
a8b263c
MINOR: Improve exception message that gets thrown for non-existent group
Nov 9, 2015
c258868
KAFKA-2785; Include Kafka Connect jars in releaseTarGz.
ewencp Nov 9, 2015
2b382d6
MINOR: remove Kafka Streams in 0.9.0
guozhangwang Nov 10, 2015
2b97b6c
KAFKA-2379: Add basic documentation for Kafka Connect.
ewencp Nov 10, 2015
98b6257
KAFKA-2769; Multi-consumer integration tests for consumer assignment …
apovzner Nov 10, 2015
e46959b
KAFKA-2274: verifiable consumer and integration testing
hachikuji Nov 10, 2015
a621677
KAFKA-2786: Only respond to SinkTask onPartitionsRevoked after the Wo…
ewencp Nov 10, 2015
528d555
KAFKA-2797: Only run rat when in the .git repository since it require…
ewencp Nov 10, 2015
69f2ad8
KAFKA-2792: Don't wait for a response to the leave group message when…
ewencp Nov 10, 2015
dd8a870
KAFKA-2798: Use prefixedd configurations for Kafka Connect producer a…
ewencp Nov 10, 2015
c411ec8
MINOR: update system test readme
Nov 10, 2015
7508ec2
KAFKA-2795: fix potential NPE in GroupMetadataManager.addGroup
hachikuji Nov 10, 2015
501ac02
KAFKA-2788; Allow specifying principals with comman in ACL CLI.
Parth-Brahmbhatt Nov 10, 2015
75db96e
KAFKA-2793: Use ByteArrayDeserializer instead of StringDeserializer f…
ewencp Nov 10, 2015
57ada44
KAFKA-2801; Process any remaining data in SSL network read buffer aft…
rajinisivaram Nov 11, 2015
0ea17e9
KAFKA-2770: Catch and ignore WakeupException for commit upon closing
guozhangwang Nov 11, 2015
1828b8e
KAFKA-2790: doc improvements
gwenshap Nov 11, 2015
39ea9d3
KAFKA2805; RecordAccumulator request timeout not enforced when all br…
Nov 12, 2015
555fab9
MINOR: Do not collect zk persistent data by default
Nov 12, 2015
8c37009
KAFKA-2813; selector doesn't close socket connection on non-IOExceptions
junrao Nov 12, 2015
33809f5
MINOR: Remove `InvalidReceiveException` catch in `SocketServer`
ijuma Nov 12, 2015
c7b9ccb
MINOR: Fix logging message in `NetworkClient.poll` not to mention `pr…
ijuma Nov 12, 2015
3ded811
MINOR: Use Kafka artifact compiled with Scala 2.11 in quickstart.html
ijuma Nov 12, 2015
9812493
TRIVIAL: provide clearer error in describe group when group is inactive
hachikuji Nov 12, 2015
c596582
KAFKA-2690: Hide passwords while logging the config.
Nov 12, 2015
d04a918
MINOR: Increase timeouts for Kafka Connect system test service to mak…
ewencp Nov 12, 2015
431ffa2
KAFKA-2822: DescribeConsumerGroup now returns empty list for non-exis…
Nov 12, 2015
c4e069a
KAFKA-2814: Make Kafka Connect system test REST requests use hostname…
ewencp Nov 12, 2015
e8f92d6
MINOR: Tuned timeout parameter to reduce chance of transient failure
Nov 13, 2015
b06ef94
KAFKA-2819; catch NoSuchElementException in ConsoleConsumer
guozhangwang Nov 13, 2015
cb0de17
KAFKA-2817; Check if socketChannel is connected in `SslTransportLayer…
ijuma Nov 13, 2015
3e133c4
Minor: Missing License
Nov 13, 2015
26aae84
trivial doc changes
junrao Nov 13, 2015
002b6b0
KAFKA-2791; removed deprecated properties
benstopford Nov 13, 2015
cc51733
KAFKA-2821; fix deadlock in group metadata write callback
hachikuji Nov 13, 2015
a30a798
KAFKA-2768: AdminClient ignore member list for non-stable groups
Nov 13, 2015
5b39dca
KAFKA-2833; print only group offset / metadata according to the forma…
guozhangwang Nov 13, 2015
8857d27
additional trivial 0.9.0 doc changes
junrao Nov 13, 2015
3c33858
KAFKA-2838; Allow comma in super users, allow comma in CLI authz prop…
Parth-Brahmbhatt Nov 14, 2015
62e2135
trivial 0.9.0 doc changes to AclCommand
junrao Nov 14, 2015
e96b723
trivial 0.9.0 doc changes to fix links
junrao Nov 14, 2015
2261763
KAFKA-2624; Change log message position
Nov 14, 2015
6483ae6
KAFKA-2831; Do not use ZKUtils in `ConsumerGroupCommand` if `new-cons…
ijuma Nov 16, 2015
99d9ddc
KAFKA-2809; Improve documentation linking
granthenke Nov 16, 2015
21ea9cb
KAFKA-2721; Avoid handling duplicate LeaderAndISR requests
lindong28 Nov 16, 2015
1a7f37b
trivial doc change for building customized user name
junrao Nov 17, 2015
cae36f5
KAFKA-2848; Use client SSL/SASL config utilities in Kafka Connect to …
ewencp Nov 17, 2015
1540730
KAFKA-2847; Remove principal builder class from client configs
ijuma Nov 17, 2015
723c6f2
KAFKA-2746; Add support for using ConsumerGroupCommand on secure install
Nov 17, 2015
fda91fc
KAFKA-2852; Updating the Authorizer CLI to use a consistent way to sp…
Parth-Brahmbhatt Nov 18, 2015
45d6fb7
MINOR: fix shutdownHook in ConsoleConsumer
guozhangwang Nov 18, 2015
9f2f9fb
MINOR: Introduce `producer.config` property to `ConsoleProducer`
ijuma Nov 18, 2015
a2bc950
KAFKA-2841; safe group metadata cache loading/unloading
hachikuji Nov 18, 2015
fe855f9
trivial fix to 0.9.0 docs
junrao Nov 18, 2015
537aeae
KAFKA-2859: Fix deadlock in WorkerSourceTask.
ewencp Nov 18, 2015
26f7979
MINOR: Documentation improvements
ijuma Nov 19, 2015
07e2141
KAFKA-2860: better handling of auto commit errors
hachikuji Nov 19, 2015
2b3f6d2
KAFKA-2869; Host used by Authorizer should be IP address not hostname/IP
ijuma Nov 20, 2015
2f51ab2
KAFKA-2867: Fix missing WorkerSourceTask synchronization and handling…
ewencp Nov 20, 2015
81c89e9
KAFKA-2863; Add a `close()` method to `Authorizer`
ijuma Nov 20, 2015
cd7455c
trivial change to 0.9.0 docs to fix outdated ConsumerMetadataRequest
junrao Nov 20, 2015
6aeaa1e
trivial change to 0.9.0 docs to fix incorrect ssl.key.password
junrao Nov 20, 2015
836dd70
KAFKA-2718: Avoid reusing temporary directories in core unit tests
rajinisivaram Nov 20, 2015
1742937
KAFKA-2812: improve consumer integration tests
hachikuji Nov 20, 2015
fc7243c
trivial change: revert incorrect change to ssl.key.password
junrao Nov 21, 2015
10b3e6a
trivial doc fix to add link to Quotas
junrao Nov 24, 2015
701ac00
KAFKA-2877: handle request timeout in sync group
hachikuji Nov 25, 2015
89e916d
KAFKA-2881: Improve Consumer Configs and API Documentation
guozhangwang Nov 25, 2015
c89b6f6
KAFKA-2799: skip wakeup in the follow-up poll() call.
guozhangwang Nov 10, 2015
d96542f
KAFKA-2718: Prevent temp directory being reused in parallel test runs
rajinisivaram Nov 25, 2015
33b4d3c
KAFKA-2878; Guard against OutOfMemory in Kafka broker
rajinisivaram Nov 25, 2015
4f3bdca
KAFKA-2892 Consumer Docs Use Wrong Method
eljefe6a Nov 26, 2015
7d37086
KAFKA-2882: Add constructor cache for Snappy and LZ4 Output/Input str…
logarithm Nov 27, 2015
60c4480
KAFKA-2899: improve logging when unexpected exceptions thrown in read…
benstopford Nov 27, 2015
e934a10
MINOR: Avoiding warning about generics in sample code
nurkiewicz Nov 27, 2015
cbddb07
KAFKA-2906: Fix Connect javadocs, restrict only to api subproject, an…
ewencp Nov 29, 2015
0cd6e94
MINOR: fix verifiable consumer assertion
hachikuji Nov 30, 2015
94dc1f9
MINOR: Fixed new consumer Javadoc typo
Nov 30, 2015
ca24692
KAFKA-2913: missing partition check when removing groups from cache
hachikuji Dec 1, 2015
a412d8a
MINOR: Update "Java Version" section
ijuma Nov 30, 2015
59c7f6c
MINOR: Update LinkedIn JVM tuning settings
ijuma Dec 1, 2015
bb2bcc7
MINOR - fix typo in index corruption warning message
lindong28 Dec 1, 2015
20e9588
KAFKA-2880: consumer should handle disconnect/timeout for metadata re…
hachikuji Dec 2, 2015
ee8a7ce
Manually ported changes in 8c3c9548b636cdf760d2537afe115942d13bc003 t…
Dec 2, 2015
2b4c5dc
MINOR: ConsoleConsumer - Fix number of processed messages count
luafran Dec 3, 2015
7b46a99
KAFKA-2942: inadvertent auto-commit when pre-fetching can cause messa…
hachikuji Dec 3, 2015
8687c09
MINOR: backport fix to partition assignor order (KAFKA-2931)
hachikuji Dec 5, 2015
8b65ec9
KAFKA-2950: Fix performance regression in the producer
jkreps Dec 5, 2015
168b759
MINOR: Remove unused DoublyLinkedList
granthenke Dec 8, 2015
1f98b03
KAFKA-2957: Fix typos in Kafka documentation
vahidhashemian Dec 8, 2015
78192b8
KAFKA-2924: support offsets topic in DumpLogSegments
hachikuji Dec 9, 2015
f906706
KAFKA-2973; Fix leak of child sensors on remove
ijuma Dec 9, 2015
83c1e33
KAFKA-2972; Add missing `partitionsRemaingList.add` in `ControlledShu…
ijuma Dec 9, 2015
a5fa661
KAFKA-2974; `==` is used incorrectly in a few places in Java code
eribeiro Dec 10, 2015
7684f6d
KAFKA-2578; Client Metadata internal state should be synchronized
eribeiro Dec 10, 2015
416210e
KAFKA-2893: Add a simple non-negative partition seek check
Dec 10, 2015
ba09aef
KAFKA-2926; [MirrorMaker] InternalRebalancer calls wrong method of ex…
gwenshap Dec 10, 2015
8071f10
KAFKA-2981: Fix javadoc in KafkaConsumer
vesense Dec 11, 2015
974e5aa
KAFKA-2978: consumer stops fetching when consumed and fetch positions…
hachikuji Dec 14, 2015
20b0969
KAFKA-2990; Fix NoSuchMethodError in Pool with cast to ConcurrentMap
hachikuji Dec 15, 2015
52a3e7b
MINOR: Documentation updates for reserved.broker.max.id
edenhill Dec 15, 2015
6533933
MINOR: Add information to upgrade notes
ijuma Dec 16, 2015
d5698fa
KAFKA-2058: Fix ProducerTest.testSendWithDeadBroker transient failure
Dec 21, 2015
9765354
KAFKA-2977: Transient Failure in kafka.log.LogCleanerIntegrationTest.…
Dec 21, 2015
4f2d172
KAFKA-2455: Fix failure in kafka.consumer.MetricsTest.testMetricsLeak
Dec 21, 2015
40acb99
KAFKA-3014: fix integer overflow problem in leastLoadedNode
hachikuji Dec 21, 2015
00ba8e0
MINOR: Fix typo in documentation
vahidhashemian Dec 22, 2015
767de4b
KAFKA-3002; Allow uppercase letters in hostnames
sasakitoa Dec 24, 2015
26b295d
Change version in gradle.properties
Oct 6, 2015
fb51d30
MAPR: Initial changes for hooking up marlin
Oct 7, 2015
62721c7
MAPR: modified ConsumerConfig to accept empty string as default for b…
Oct 9, 2015
d615456
MAPR: minor bug fix in commitAsync
Oct 20, 2015
19b978a
MAPR: add default stream config param, add new KafkaConsumer.listTopi…
Oct 29, 2015
843d273
MAPR: merge conflicts with 0.9.0
Nov 14, 2015
48b924a
MAPR: add new KafkaConsumer.listTopics(Pattern) api
Nov 14, 2015
eddc75f
MAPR: add new KafkaConsumer.listTopic(Pattern) api, fix minor typo
Nov 14, 2015
a7437ff
MAPR: adding default values to default stream
Nov 14, 2015
3ccab91
MAPR-21536: rename marlin to streams in mapr specific config parameters.
Nov 30, 2015
15eef18
MAPR-21535: Update the maven artifact name to streams
Dec 2, 2015
30db768
MAPR-21517 - need additional control over generated POM for kafka-cli…
Dec 10, 2015
7507a03
MAPR-21736 - Change the package name of the MarlinProducer and Marlin…
Dec 15, 2015
0f6594b
MAPR-20370: add producer and timestamp to messages
Dec 16, 2015
4080a40
MAPR-22006 - publish kakfa-log4j-appender and kafka-tools
pwong-mapr Jan 4, 2016
405c327
MAPR-22006 - fix
pwong-mapr Jan 4, 2016
d4fba3a
Bug 22005 : Make Mirror-maker work across MapR streams
Jan 5, 2016
c4b524e
BUG 22237 : make rpc timeout params of streams consistent with filec…
Jan 20, 2016
2b9b1da
Bug 22287: Reduce the log level for uninitialized consumer / producer…
mansiash Jan 25, 2016
c401227
Changed the run.sh script to pick up mapr classpaths.
mansiash Jan 26, 2016
a26b9d2
MAPR-22352 added config streams.consumer.buffer.memory
Jan 29, 2016
165df5d
Bug 22413 : kafka-consumer-perf-test.sh with 80 partitions times out
Feb 2, 2016
5d500b2
MAPR-22414 - improved handling of the case where MapR Streams depende…
Feb 2, 2016
69bcd03
single-character typo
Feb 2, 2016
eeef4d6
fix for cases when maprVersion is defined as "0-SNAPSHOT" or similar
Feb 2, 2016
fd22737
prepare for release 0.9.0.0-mapr-1602
pwong-mapr Feb 19, 2016
f614021
gradle
Jul 15, 2016
71d53a2
pull upstream
Jul 15, 2016
77aa121
resolved merge conflicts and begin mapr impls
Jul 15, 2016
3e6c9ec
resolved conflicts
Jul 15, 2016
575905d
consumer/producer client updates for mapr
Jul 18, 2016
45bea95
fixed consumer/producer oss kafka tests
Jul 18, 2016
962a710
updated tests
Jul 21, 2016
f59085a
update to dependencies
Jul 21, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Manifest-Version: 1.0
Implementation-Vendor: Mapr Technologies, Inc.
Implementation-Title: mapr-streams
Implementation-Version: 5.1.0-mapr
Implementation-Vendor-Id: com.mapr.streams
Built-By: root
Build-Jdk: 1.7.0_71
Created-By: Apache Maven 3.1.1
Implementation-URL: http://www.mapr.com/mapr-streams/
Archiver-Version: Plexus Archiver

11 changes: 11 additions & 0 deletions META-INF/mapr-build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
user.name = root
java.vm.vendor = Oracle Corporation
java.vm.version = 24.71-b01
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.runtime.version = 1.7.0_71-b14
os.name = Linux
os.version = 2.6.32-573.12.1.el6.x86_64
os.arch = amd64
build.time = 2016-02-25T22:03
hg.changeset = r37549+:e305641e390f+
hg.branch = v5.1.0
5 changes: 5 additions & 0 deletions META-INF/maven/com.mapr.streams/mapr-streams/pom.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Generated by Apache Maven
#Thu Feb 25 21:38:41 EST 2016
version=5.1.0-mapr
groupId=com.mapr.streams
artifactId=mapr-streams
96 changes: 96 additions & 0 deletions META-INF/maven/com.mapr.streams/mapr-streams/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2015 MapR, Inc. -->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.mapr</groupId>
<artifactId>mapr-release</artifactId>
<version>5.1.0-mapr</version>
<relativePath/>
</parent>

<groupId>com.mapr.streams</groupId>
<artifactId>mapr-streams</artifactId>

<repositories>
<repository>
<id>mapr-releases</id>
<url>http://repository.mapr.com/maven/</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
</repositories>

<properties>
<runSuite>**/RunAll.class</runSuite>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
</dependency>
<dependency>
<groupId>com.mapr.hadoop</groupId>
<artifactId>maprfs</artifactId>
</dependency>
<dependency>
<groupId>org.ojai</groupId>
<artifactId>ojai</artifactId>
</dependency>
<dependency>
<groupId>com.mapr.db</groupId>
<artifactId>maprdb</artifactId>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>mapr-streams</artifactId>
<groupId>com.mapr.streams</groupId>
</exclusion>
</exclusions>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>com.mapr</groupId>
<artifactId>mapr-java-utils</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<!-- allows SLF4J APIs to send log messages to log4j -->
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>${runSuite}</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<excludePackageNames>com.mapr.streams.impl</excludePackageNames>
</configuration>
</plugin>
</plugins>
</build>

</project>
106 changes: 15 additions & 91 deletions bin/kafka-run-class.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,100 +38,24 @@ should_include_file() {
fi
}

base_dir=$(dirname $0)/..

if [ -z "$SCALA_VERSION" ]; then
SCALA_VERSION=2.10.6
fi

if [ -z "$SCALA_BINARY_VERSION" ]; then
SCALA_BINARY_VERSION=2.10
fi

# run ./gradlew copyDependantLibs to get all dependant jars in a local dir
shopt -s nullglob
for dir in "$base_dir"/core/build/dependant-libs-${SCALA_VERSION}*;
do
if [ -z "$CLASSPATH" ] ; then
CLASSPATH="$dir/*"
else
CLASSPATH="$CLASSPATH:$dir/*"
fi
done

for file in "$base_dir"/examples/build/libs/kafka-examples*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done

for file in "$base_dir"/clients/build/libs/kafka-clients*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done

for file in "$base_dir"/streams/build/libs/kafka-streams*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done

for file in "$base_dir"/streams/examples/build/libs/kafka-streams-examples*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done

for file in "$base_dir"/streams/build/dependant-libs-${SCALA_VERSION}/rocksdb*.jar;
do
CLASSPATH="$CLASSPATH":"$file"
done

for file in "$base_dir"/tools/build/libs/kafka-tools*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done

for dir in "$base_dir"/tools/build/dependant-libs-${SCALA_VERSION}*;
do
CLASSPATH="$CLASSPATH:$dir/*"
done

for cc_pkg in "api" "runtime" "file" "json" "tools"
do
for file in "$base_dir"/connect/${cc_pkg}/build/libs/connect-${cc_pkg}*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done
if [ -d "$base_dir/connect/${cc_pkg}/build/dependant-libs" ] ; then
CLASSPATH="$CLASSPATH:$base_dir/connect/${cc_pkg}/build/dependant-libs/*"
fi
done
# This will set MAPR_HOME, etc.
source `which mapr-config.sh` # Both "mapr" and "mapr-config.sh" are symlinked in "/usr/bin"

# Set up Java classpath, start with $MAPR_CONF
CLASSPATH=$MAPR_CONF
# Add MapR jars
CLASSPATH=$CLASSPATH:$(get_mapr_core_jars) # function in mapr-config.sh
# Add logger jars
CLASSPATH=$CLASSPATH:$(get_logger_jars) # function in mapr-config.sh
# Add 3rd party jars
CLASSPATH=$CLASSPATH:$(get_external_jars) # function in mapr-config.sh

base_dir=$(dirname $0)/..
# classpath addition for release
for file in "$base_dir"/libs/*;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done
CLASSPATH=$CLASSPATH:$base_dir/libs/*

for file in "$base_dir"/core/build/libs/kafka_${SCALA_BINARY_VERSION}*.jar;
do
if should_include_file "$file"; then
CLASSPATH="$CLASSPATH":"$file"
fi
done
shopt -u nullglob
# Add native library path to LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$(get_hadoop_libpath)"

# JMX settings
if [ -z "$KAFKA_JMX_OPTS" ]; then
Expand Down
Loading