Member since
01-13-2016
23
Posts
18
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3065 | 01-13-2016 08:56 PM |
02-11-2016
04:29 PM
@Benjamin Leonhardi Me either. Just replaced my file with yours and receive the same error about line 98 which I would have received before commenting out the return statement on that line
... View more
02-11-2016
04:23 PM
@Benjamin Leonhardi The main() at the top of mine is the one at the bottom of yours. My screenshot from vi is showing that line plus additional lines which were not visible in Notepad++. Sadly, no, nothing is being written to /flume/events
... View more
02-11-2016
04:01 PM
1 Kudo
@Benjamin Leonhardi Interesting! You are right, I was using Notepadd++. However, when I opened the script in vi, there are additional lines not visible in Notepad++. See the attached picture. I changed the return on line 98 to be commented as suggested on the tutorial comments and the script executed.py3.png
... View more
02-11-2016
03:30 PM
@Benjamin Leonhardi Same error message received. Below is what is in the script which I re-downloaded and unzipped. I would paste the code from the script but it exceeds the 600 character limit. Instead Ive attached pictures. I see no issues with indentation of return statements nor do I see anything on line 98.
... View more
02-11-2016
03:28 PM
@Benjamin Leonhardi I'm almost at the part where I should run the script. However, Ive noticed two other items about the tutorial. When I execute the mv command for flume.conf, I am told it already exists and will be overwritten. The log4jproperties file is already configured correctly.
... View more
02-11-2016
02:58 PM
1 Kudo
@Benjamin Leonhardi Thanks Benjamin. I'm currently completing the lengthy re-download and install of the SBX and will also re-download the script. Will let you know if I still receive an error.
... View more
02-11-2016
01:41 PM
2 Kudos
I am working through this tutorial and I'm encountering the error shown below. I see that others have experienced it to from looking at the comments below the walk through. I believe I have successfully completed this tutorial before. Any ideas on how to resolve this? [root@sandbox home]# python generate_logs.pyFile “generate_logs.py”, line 98return resultsSyntaxError: ‘return’ outside function
... View more
Labels:
- Labels:
-
Apache Flume
02-08-2016
07:30 PM
@Daniel Vielvoye
... View more
02-05-2016
07:55 PM
1 Kudo
@rich Understood. I just wanted to raise awareness to the discrepancies as it was difficult and time-consuming to assess if I had completed the practice tasks correctly due to my outcomes differing from what was provided as solutions. Hopefully others will see this prior to the practice exam being updated and be able to navigate through my smoothly. Thanks for the quick feedback you've been providing.
... View more
02-05-2016
06:24 PM
1 Kudo
@rich it also affects the answer for Task 03 item #2 as well. It makes the result off by 2.
... View more