Code Repositories

Find and share code repositories
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!
avatar
Guru
Repo Description

Credit Card Transaction Monitor is an example of a Modern Data Application running on the Hortonworks Connected Platform (HDP/HDF). The application shows how a financial institution can use Hortonworks Data Flow and Hortonworks Data Platform to protect credit card customers from credit card fraud

Repo Info
Github Repo URL https://github.com/vakshorton/CreditCardTransactionMonitor
Github account name vakshorton
Repo name CreditCardTransactionMonitor
6,620 Views
Comments
avatar
New Member

Hi i tried the new demo. But its failing because of authentication issue on amazon s3

avatar
Guru

@Rajat Ratewal

I added a ton of automation to make it as easy as possible to install. The demo is designed to run inside of the Hortonworks Sandbox 2.4 and works best if you just run it on your local PC. Give it another try and let me know.

avatar
New Member

Thanks @Vadim i tried it, its much better than earlier but i have following feedback

1) It take lot of time for Java code to get build on machine becasue of various repos that are pulled

2) I am still getting following error on Nifi Bulletin Board, seems like amazon S3 access issue

22:27:39 UTC ERROR 0feca8bc-69f3-484e-9ce2-1263f934eea3

GetSQS[id=0feca8bc-69f3-484e-9ce2-1263f934eea3] Failed to receive messages from Amazon SQS due to com.amazonaws.AmazonServiceException: Access to the resource https://sqs.us-west-2.amazonaws.com/618900452667/customerValidation is denied. (Service: AmazonSQS; Status Code: 403; Error Code: AccessDenied; Request ID: 8233946d-39fd-586f-b44f-dbca256160b5): com.amazonaws.AmazonServiceException: Access to the resource https://sqs.us-west-2.amazonaws.com/618900452667/customerValidation is denied. (Service: AmazonSQS; Status Code: 403; Error Code: AccessDenied; Request ID: 8233946d-39fd-586f-b44f-dbca256160b5)

3) Still looking at if i am able to start UI

avatar
Guru

@Rajat Ratewal

There is not much I can do about how long the build takes. I am using most of the components in the HDP/HDF stack so there are a lot of dependencies in the application.

You can run the demo without the SQS connection. That is only required if you are running the mobile app. You should be able to get to the UI once you run the ./startDemoServices.sh, the link is on the Repo (http://sandbox.hortonworks.com:8090/TransactionMonitorUI/CustomerOverview). If you want with the end to end flow with the mobile app, you will need to build the app and then setup Google GCM and Amazon SQS (free to setup and use as long as you don't breach free tier usage limits). That is how the application gets a notification to the mobile app and back. The mobile app code and instructions repo is linked from the main repo but here is the link:

https://github.com/vakshorton/CreditCardTransactionMonitorMobileApp

Let me know how that works out.

Vadim

avatar
Explorer

Hi @Vadim Vaks,

What is the license on this demo. Is this a free demo or it is licensed please? I would like to play with its code to learn from it and potentially change it if possible.

Thanks

avatar

When I tried the demo installer, NiFi failed to start. After some poking around, I found that the directory name in /opt has changed at a time - the Ambari service wants a HDF directory but it finds a nifi directory. As a quick hack, I did

cd /opt
ln -sf nifi-0.5.1.1.1.2.0-32 HDF-1.2.0.1-1

That does the trick for me!

avatar
New Contributor

Please post video recording of this Credit Fraud prevention demo.