Comments (6)
We now have a function to trap and report on Azure errors:
stopWithAzureError(r)
I will get to HDI functions eventually. Right now I'm gradually refactoring and fixing issues earlier in the code base.
from azuresmr.
I've started working on refactoring the code for running script actions. This is not yet checked into the dev branch, but here is my hunch.
- When I run your code the first time, it completes without any problem.
- If I then submit this again, I get an error
Error: azureRunScriptAction()
BadRequest
Scripts with the following names already exist in the persisted
script list: installPackages
Return code: 400
My next action is to expose this error and print a friendly message.
from azuresmr.
@akzaidi Can you please test again?
from azuresmr.
Does work, thanks ! One weird issue, it prints the following Error:
Error: Provide a valid resourceGroup argument, or set using createAzureContext()
Example usage:
> azureRunScriptAction(sc, resourceGroup = "alizaidi", clustername = "azrsparkdev",
scriptname = "installlubridate",
scriptURL = "http://mrsactionscripts.blob.core.windows.net/rpackages-v01/InstallRPackages.sh",
workerNode = TRUE, edgeNode = TRUE,
parameters = "useCRAN lubridate")
Accepted
Script action request submitted: 2017-05-31 11:42:45
Key: A - accepted, (.) - in progress, S - succeeded, E - error, F - failed
Error: Provide a valid resourceGroup argument, or set using createAzureContext()
from azuresmr.
Thanks for the report.
So the error happens when pollStatusScriptAction ()
passes the request to azureScriptActionHistory()
- this requires the resourceGroup
.
from azuresmr.
I've pushed a fix for this to the dev branch.
from azuresmr.
Related Issues (20)
- Undefined index_resource in azureDataConsumption()
- install_github failing HOT 1
- Issue authenticating with tutorial HOT 5
- Can't read/write to blob storage HOT 2
- azureCreateStorageAccount fails while storage account does not exist HOT 1
- license HOT 1
- Extracting an excel file with multiple tabs from Azure to R HOT 1
- Read .gz file from Data Lake HOT 1
- R 3.5 Support
- download more than 5000 blobs HOT 1
- Writing dataframe to blob with AzurePutbBlob HOT 5
- Error trying to write to Blob
- azureDataLake functions don't work HOT 2
- AzurePutBlob should take contenttype as an argument
- DeviceCode authentication doesn't work HOT 2
- resourceGroup should be optional when providing a storage key
- Use HTTPS when communicating with Storage API
- Storing raw objects does not work due to invalid authorisation signature HOT 1
- Support ADLS as alternative to storage account in HDI HOT 1
- Authentication Rmd outdated
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 azuresmr.