Comments (8)
Hello, could you turn on DEBUG in the log and grep for potential stack trace or error message?
You can change the log level by adding
"log.level": "TRACE" or "log.level": "DEBUG" to the top of the config file.
If you think the log is too noisy, could you send it to me at [email protected]? I'll take a look and let you know ASAP.
Right now the error message of each record is put in TRACE level, that's probably the reason why you didn't see the error in ERROR. We probably shouldn't have done that way, but this intent to make the ERROR cleaner.
from amazon-kinesis-agent.
At the same time, could you also try changing this message from "debug" to "error" to see if it helps?
I'm patching another release to fix the error message too.
from amazon-kinesis-agent.
With debug level monitoring I see this:
2016-04-13 07:34:50.021+0000 ip-10-30-156-195 (sender-7) com.amazon.kinesis.streaming.agent.tailing.AsyncPublisher [DEBUG] AsyncPublish er[kinesis:dev-amazon-agent-kinesis-AmazonAgentKinesisStream-XXXXXX:/var/log/canary/ingress/ingress.log]:RecordBuffer(id=11,recor ds=500,bytes=252824) Retriable send error (com.amazonaws.AmazonClientException: Unable to marshall request to JSON: com/fasterxml/jacks on/dataformat/cbor/CBORFactory). Will retry.
from amazon-kinesis-agent.
Found a similar error here
http://stackoverflow.com/questions/35467833/unable-to-marshall-request-to-json-amazon-aws
from amazon-kinesis-agent.
I've been able to get the agent working by downgrading the Amazon SDK to the version used in 1.0.
from amazon-kinesis-agent.
Date: Wed Apr 13 10:10:53 2016 +0000
Downgrade SDK
diff --git a/pom.xml b/pom.xml
index 219c7de..1d9d638 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
</licenses>
<properties>
- <aws-java-sdk.version>1.10.67</aws-java-sdk.version>
+ <aws-java-sdk.version>1.10.26</aws-java-sdk.version>
</properties>
<dependencies>
@@ -209,4 +209,4 @@
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/setup b/setup
index 9d4f3f6..57fc582 100755
--- a/setup
+++ b/setup
@@ -47,7 +47,7 @@ download_dependencies() {
install -d ${dependencies_dir}
echo "Downloading dependencies ..."
- aws_java_sdk_version="1.10.67"
+ aws_java_sdk_version="1.10.26"
remote_mvn_pkg="com.amazonaws:aws-java-sdk-core:${aws_java_sdk_version} \
com.amazonaws:aws-java-sdk-kinesis:${aws_java_sdk_version} \```
from amazon-kinesis-agent.
Sorry for the inconvenience. I'm gonna downgrade the sdk version then
from amazon-kinesis-agent.
I've pushed a patch release.
from amazon-kinesis-agent.
Related Issues (20)
- Allow ./setup --build as non-root
- aws-kinesis-agent-latest.amzn1.noarch.rpm is a vulnerable version HOT 3
- Latest S3 RPM agent download is not the latest agent version
- Build fails on AL2
- Kinesis Agent using EC2 metadata
- Use a vuln free version of fasterxml HOT 1
- No Log output when running with start-aws-kinesis-agent HOT 2
- use aws profile credentials for RPi
- Kinesis Agent 1.1.6 fails to send records when IMDSv2 Tokens are required
- Service fails to connect to checkpoint database on startup HOT 1
- How does kinesis agent log getting logrotate? HOT 1
- Unable to Install kinesis agent HOT 2
- openjdk-11-jdk support HOT 2
- maxBufferAgeMillis does work independently
- workaround for debian / ubuntu install agent with openjdk 1.8 by script
- Kinesis Agent is using out of support AWS Java SDK 1.11.700
- Kinesis Agent 2.0.8 fails to send records using IAM role when IMDSv2 is enabled HOT 1
- Build on SLES fails pointing to Redhat
- Is it possible to user a specific value from the data as the partition key
- Kinesis agent failing to start on ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-agent.