Sign inSign up

Data Accelerator

Verified Publisher

datax/dataxlocal

By Microsoft

Updated over 2 years ago

This image contains the local experience for https://github.com/Microsoft/data-accelerator

0

microsoft/datax-dataxlocal repository overview

  • datax/dataxlocal:v1 (Current)
    • docker pull mcr.microsoft.com/datax/dataxlocal:v1

About This Image

Data Accelerator for Apache Spark democratizes streaming big data using Spark by offering several key features such as a no-code experience to set up a data pipeline as well as fast dev-test loop for creating complex logic. Our team has been using the project for two years within Microsoft for processing streamed data across many internal deployments handling data volumes at Microsoft scale. It offers an easy to use platform to learn and evaluate streaming needs and requirements. This image contains the local experience for Data Accelerator.

How to Use the Image

To run Data Accelerator locally, deploy locally and then check out the local mode tutorials.

Deployment

  • Run the below commands in Powershell on Windows (and approve subsequent elevation request) or in Terminal on Mac

    docker run --rm --name dataxlocal -d -p 127.0.0.1:49080:2020 -p 127.0.0.1:4040:4040 mcr.microsoft.com/datax/dataxlocal:v1
    
  • If you want to get the latest docker image, delete the one you have downloaded previously and then run the above command. To delete already downloaded image, follow these steps:

    • Run these commands (in case you haven't already done so):
      docker stop dataxlocal            
      docker images -a
      
    • This will list all the images on your box. Note the ImageId for all images listed where the repository equals msint.azurecr.io/datax/dataxlocal and then run the following command for each of the ImageId to remove them from the machine:
      docker image rm <ImageId>  
      

Deployment With Security using Basic Auth

  • Run the below commands in Powershell on Windows (and approve subsequent elevation request) or in Terminal on Mac

  • Refer to Nginx readme

    docker run --rm --name dataxlocal -d -p 127.0.0.1:4040:4040 mcr.microsoft.com/datax/dataxlocal:v1
    

    Try accessing and logging in with username foo and password bar.

    docker run --rm -d -e HTPASSWD='foo:$apr1$odHl5EJN$KbxMfo86Qdve2FH4owePn.' -e FORWARD_PORT=2020 --link dataxlocal:web -p 127.0.0.1:49080:80 --name auth beevelop/nginx-basic-auth
    

    If you wish to use a different username and password, visit here to generate the HTPASSWD value

  • If you want to get the latest docker image, delete the one you have downloaded previously and then run the above command. To delete already downloaded image, follow these steps:

    • Run these commands (in case you haven't already done so):
      docker stop dataxlocal
      docker stop auth
      docker images -a
      
    • This will list all the images on your box. Note the ImageId for all images listed where the repository equals msint.azurecr.io/datax/dataxlocal and then run the following command for each of the ImageId to remove them from the machine. Also remove the images listed for repository beevelop/nginx-basic-auth and remove them as well:
      docker image rm <ImageId>  
      

Feedback

Please also see our Code of Conduct.

FAQ and troubleshooting:

License

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License

Tag Summary

No tags have been pushed to this repository yet.