cloud

How to integrate Storm and Kafka [closed]

南笙酒味 提交于 2019-12-19 04:29:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have worked in Storm and developed a basic program which is using a local text file as input source. But now I have to work on streaming data coming continuously from external systems. For this purpose, Kafka is the best choice. The problem is how to make my Spout get streaming data from Kafka. Or how to

Problem with copying local data onto HDFS on a Hadoop cluster using Amazon EC2/ S3

旧巷老猫 提交于 2019-12-18 13:17:51
问题 I have setup a Hadoop cluster containing 5 nodes on Amazon EC2. Now, when i login into the Master node and submit the following command bin/hadoop jar <program>.jar <arg1> <arg2> <path/to/input/file/on/S3> It throws the following errors (not at the same time.) The first error is thrown when i don't replace the slashes with '%2F' and the second is thrown when i replace them with '%2F': 1) Java.lang.IllegalArgumentException: Invalid hostname in URI S3://<ID>:<SECRETKEY>@<BUCKET>/<path-to

Parse Cloud: Send Push to a single user

情到浓时终转凉″ 提交于 2019-12-18 12:35:48
问题 I'm using Parse and I can't make this method to work. The idea is to send push to a single user with an already known user identifier from any platform within 'Cloud code'. Queries I've tried without push being delivered to that user (actually no push was delivered to any user) PFInstallation through the user pointer: var targetUser = new Parse.User(); targetUser.id = userID; var query = new Parse.Query(Parse.Installation); query.equalTo('user', targetUser); Query in PFUser itself var query =

Node.js TCP Socket Server on the Cloud [Heroku/AppFog]

我只是一个虾纸丫 提交于 2019-12-18 12:26:17
问题 Is is possible to run a Node.js TCP Socket oriented application on the Cloud , more specifically on Heroku or AppFog . It's not going to be a web application, but a server for access with a client program. The basic idea is to use the capabilities of the Cloud - scaling and an easy to use platform. I know that such application could easily run on IaaS like Amazon AWS , but I would really like to take advantage of the PaaS features of Heroku or AppFog . 回答1: I am reasonably sure that doesn't

Can I buy remote MATLAB processing time? [closed]

こ雲淡風輕ζ 提交于 2019-12-18 10:23:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm a regular user of Matlab. For a very CPU-intensive task, I need to keep my PC running for hours (or days) simulating stuff, which is a pain since I need to carry it around. Do you know of a public website/company that allows a user to run a remote instance for as long as he wants to, and then charge the

Windows Azure or Amazon EC2 for ASP.NET MVC Development?

梦想的初衷 提交于 2019-12-18 09:59:22
问题 If you want to build enterprise ASP.NET MVC applications that use MSSQL databases is it better to use Windows Azure or Amazon EC2? I didn't find any satisfying answers. So what are the advantages and disadvantages of the two cloud plattforms (Price, Performance, Simplicity of integration, ...)? 回答1: Both are for slightly different purposes - Amazon is infrastructure as a service, which means you dont have to purchase hardwrae, the networking equipment and maintain them. You will get virtual

NodeJS Managed Hostings vs VPS

北城余情 提交于 2019-12-17 21:51:04
问题 There are a bunch of managed cloud based hosting services for nodejs out there which seem relatively new and some still in Beta. Yet another path to host a nodejs app is setting up a stack on a VPS like Linode. I'm wondering what's the basic difference here between these two kinds of deployment. Which factors should one consider in choosing one over another? Which one is more suitable for production considering how young these services are. To be clear I'm not asking on choosing a provider

How does it happen Azure web role entry point and .aspx page handler are run in different processes?

橙三吉。 提交于 2019-12-17 20:34:10
问题 I'm playing with this Azure web role sample. It contains a class derived from RoleEntryPoint and a .aspx page that contains a button click handler. I test it in Azure Emulator. I put the following code (taken from here) string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name; in both role OnStart() and the button click handler. When role OnStart() is invoked it happens to run in WaIISHost.exe under MachineName\\MyLogin account and when button handler code is invoked it

Windows Azure not finding DLL of C++/CLI project

*爱你&永不变心* 提交于 2019-12-17 19:54:17
问题 I have a C++/CLI project that wraps around an unmanaged C compression library, and this project is referenced by an MVC3 project that calls the C++ Compress function. Everything works fine locally, but when I publish the solution to the Azure cloud, I get an error saying it could not find the module/dll: Could not load file or assembly 'LZGEncoder.DLL' or one of its dependencies. The specified module could not be found. Why can't it find the DLL file? is it going to the wrong place or being

Amazon EC2 - Swap root instance store device with EBS device

假装没事ソ 提交于 2019-12-17 15:05:21
问题 I have an EC2 instance with "instance store" device as a root device. Now, I would like to attach an EBS volume to that same instance, only that I want it to be the root device. Is that possible? What happens to the instance store device in such case? Thanks in advance 回答1: You could migrate your running instance to an EBS backed AMI. Here's how I did it: Boot up a regular S3 AMI backed instance (or since you've already got an instance you're happy with, use that) Make an EBS volume of the