I am able to import data from my MS sql to HDFS using JDBCHDFC Spring Batch jobs.But if that containers fails , the job does not shift to other container. How do I proceed to make the job fault tolerant. I am using spring xd 1.0.1 release
jdbc to HDFS import using spring batch job
158 Views Asked by Neeraj Kumar At
1
There are 1 best solutions below
Related Questions in SPRING
- Redirect inside java interceptor
- Spring RestTemplate passing the type of the response
- spring-integration-dsl-groovy-http return null when i use httpGet method
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- HTTP Status 404 - Not Found in Spring 3.2.7
- AndroidAnnotations how to use setBearerAuth
- android I/O error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
- Show login dialog when not authenticated yet
- Spring Data Rest supporting json and xml
- @Value annotation not resolved in a class that belongs to dependency jar
- Remove nested _embedded fields while using projections
- How to send Rest GET request that contains "#" value in url parameters?
- How to inject spring bean into Validator(hibernate)
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
Related Questions in HDFS
- Using HDFS with Apache Spark on Amazon EC2
- How to read a CSV file from HDFS via Hadoopy?
- How can I migrate data from one HDFS cluster to another over the network?
- Spark/Spark Streaming in production without HDFS
- Jcascalog to query thrift data on HDFS
- What is Metadata DB Derby?
- Can Solr or ElasticSearch be configured to use HDFS as their persistence layer in a way that also supports MapReduce?
- How to import only new data by using Sqoop?
- How to access hdfs by URI consisting of H/A namenodes in Spark which is outer hadoop cluster?
- Force HDFS globStatus to skip directories it doesn't have permissions to
- Trying to use WinInet to upload a file to HDFS
- Apache Spark architecture
- Is possible to set hadoop blocksize 24 MB?
- Unable to create file using Pail DFS
- Hadoop Distributed File Systmes
Related Questions in SPRING-BATCH
- Running a specific spring batch job amongst several jobs contained withing a spring boot fat jar
- Spring Batch | Read Count = Filter + Write?
- How to call a stored procedure from a Spring Batch Tasklet?
- how to implement complex pattern matching in Spring batch using PatternMatchingCompositeLineMapper
- More than one tasklet in a step?
- Execute database operations inside a chunck orientad step
- Load additional property file in spring batch admin
- Apache POI serialization issue in spring batch
- Spring batch difference between Multithreading vs partitioning
- spring batch Running only one Job Instance at a time and create queue it up
- How to call a specific method of a tasklet
- Spring batch job execution context and step execution context clarification needed
- Remote chunking with Spring Batch job distribution
- How to integrate spring-xd batch jobs with Control-M scheduler
- How to set property using "tasklet ref" tag
Related Questions in SPRING-BATCH-ADMIN
- Load additional property file in spring batch admin
- How to enable authorization with the Spring Batch Admin UI
- Convert non-launchable job to launchable job in Spring Batch Admin
- How to integrate spring batch admin console
- Spring Batch - MongoDB to XML - Caused by: java.lang.IllegalStateException: A type to convert the input into is required
- Cannot convert value of type 'org.springframework.batch.item.xml.StaxEventItemWriter' to required type 'org.springframework.batch.item.ItemReader'
- org.springframework.dao.DataAccessResourceFailureException: Unable to write to file resource: [class path resource [report.xml]]; Spring Batch
- Data is not written into the XML file from mongodb using Spring Batch, Why?
- Unable to start a spring boot web application with spring batch admin
- Bath command file path format
- Is there a way to integrate spring-batch-admin and spring-boot properly?
- Spring Batch Caused by: java.lang.IllegalStateException: Existing transaction detected in JobRepository
- customize the path of job files in spring batch admin manager
- Migrating from spring-batch-admin to spring cloud dataflow
- Spring Batch integration with spring cloud data flow on local server to add spring admin capabilities
Related Questions in SPRING-XD
- In Spring-XD Failed to access http endpoint http://localhost:9000
- Does HDFS sink support writing to sequence file in Spring XD?
- Spring XD http-client processor sends text/plain instead of application/json
- How to integrate spring-xd batch jobs with Control-M scheduler
- Spring Batch - Read files from Aws S3
- SpringXD module delete command does not delete the uploaded .jar file
- What are the steps to upgrade Spring XD using the Ambari Plugin?
- Spring XD stream and job persistence
- spring-xd job repository datasource enable oracle fast connection failover
- Using mappedRequestHeaders in Spring XD
- Passing Java Object via remote transport in Spring XD
- How to load data from oracle and sql server to HAWQ using Spring XD
- SpringXD: Can partitionPath and hdfs-dataset coexist?
- How to see all jobs in a cluster using Spring Batch?
- Spring XD ExecutionContext Deserializer
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You don't mention which version of Spring XD you're currently using so I can't verify the exact behavior. However, on a container failure with a batch job running in the current version, the job should be re-deployed to a new eligible container. That being said, it will not restart the job automatically. We are currently looking at options for how to allow a user to specify if they want it restarted (there are scenarios that fall into both camps so we need to allow a user to configure that).