Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
4f681657
Commit
4f681657
authored
9 years ago
by
Hemanth Yamijala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-912 Update to use Kafka 0.10.0.0 (from 0.9.0.0) (madhan.neethiraj via yhemanth)
parent
a2e7738a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
InstallationSteps.twiki
docs/src/site/twiki/InstallationSteps.twiki
+1
-1
AtlasTopicCreator.java
...rc/main/java/org/apache/atlas/hook/AtlasTopicCreator.java
+2
-1
pom.xml
pom.xml
+1
-1
release-log.txt
release-log.txt
+1
-0
NotificationHookConsumerKafkaTest.java
...atlas/notification/NotificationHookConsumerKafkaTest.java
+3
-2
No files found.
docs/src/site/twiki/InstallationSteps.twiki
View file @
4f681657
...
...
@@ -7,7 +7,7 @@ git clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git atlas
cd atlas
export MAVEN_OPTS="-Xmx1
024
m -XX:MaxPermSize=512m" && mvn clean install
export MAVEN_OPTS="-Xmx1
536
m -XX:MaxPermSize=512m" && mvn clean install
</verbatim>
Once the build successfully completes, artifacts can be packaged for deployment.
...
...
This diff is collapsed.
Click to expand it.
notification/src/main/java/org/apache/atlas/hook/AtlasTopicCreator.java
View file @
4f681657
...
...
@@ -20,6 +20,7 @@ package org.apache.atlas.hook;
import
com.google.common.annotations.VisibleForTesting
;
import
kafka.admin.AdminUtils
;
import
kafka.admin.RackAwareMode
;
import
kafka.utils.ZkUtils
;
import
org.I0Itec.zkclient.ZkClient
;
import
org.I0Itec.zkclient.ZkConnection
;
...
...
@@ -114,7 +115,7 @@ public class AtlasTopicCreator {
int
numPartitions
=
atlasProperties
.
getInt
(
"atlas.notification.hook.numthreads"
,
1
);
int
numReplicas
=
atlasProperties
.
getInt
(
"atlas.notification.replicas"
,
1
);
AdminUtils
.
createTopic
(
zkUtils
,
topicName
,
numPartitions
,
numReplicas
,
new
Properties
());
new
Properties
()
,
RackAwareMode
.
Enforced
$
.
MODULE
$
);
LOG
.
warn
(
"Created topic {} with partitions {} and replicas {}"
,
topicName
,
numPartitions
,
numReplicas
);
}
...
...
This diff is collapsed.
Click to expand it.
pom.xml
View file @
4f681657
...
...
@@ -371,7 +371,7 @@
<hadoop.version>
2.7.0
</hadoop.version>
<hbase.version>
1.1.2
</hbase.version>
<solr.version>
5.1.0
</solr.version>
<kafka.version>
0.
9
.0.0
</kafka.version>
<kafka.version>
0.
10
.0.0
</kafka.version>
<!-- scala versions -->
<scala.version>
2.10.4
</scala.version>
<scala.binary.version>
2.10
</scala.binary.version>
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
4f681657
...
...
@@ -3,6 +3,7 @@ Apache Atlas Release Notes
--trunk - unreleased
INCOMPATIBLE CHANGES:
ATLAS-912 Update to use Kafka 0.10.0.0 (from 0.9.0.0) (madhan.neethiraj via yhemanth)
ATLAS-542 Make qualifiedName and name consistent across all Datasets and Process (sumasai via yhemanth)
ATLAS-716 Entity update/delete notifications (shwethags)
ATLAS-619 Canonicalize hive queries (sumasai)
...
...
This diff is collapsed.
Click to expand it.
webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java
View file @
4f681657
...
...
@@ -43,7 +43,7 @@ public class NotificationHookConsumerKafkaTest {
private
KafkaNotification
kafkaNotification
;
@BeforeTest
public
void
setup
()
throws
AtlasException
{
public
void
setup
()
throws
AtlasException
,
InterruptedException
{
kafkaNotification
=
startKafkaServer
();
}
...
...
@@ -124,9 +124,10 @@ public class NotificationHookConsumerKafkaTest {
return
entity
;
}
KafkaNotification
startKafkaServer
()
throws
AtlasException
{
KafkaNotification
startKafkaServer
()
throws
AtlasException
,
InterruptedException
{
KafkaNotification
kafkaNotification
=
(
KafkaNotification
)
notificationInterface
;
kafkaNotification
.
start
();
Thread
.
sleep
(
2000
);
return
kafkaNotification
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment