Package com.ngdata.hbaseindexer.model.api

Examples of com.ngdata.hbaseindexer.model.api.IndexerNotFoundException


                public Stat execute() throws KeeperException, InterruptedException {
                    return zk.setData(indexerCollectionPathSlash + indexer.getName(), newData, indexer.getOccVersion());
                }
            });
        } catch (KeeperException.NoNodeException e) {
            throw new IndexerNotFoundException(indexer.getName());
        } catch (KeeperException.BadVersionException e) {
            throw new IndexerConcurrentModificationException(indexer.getName());
        }
    }
View Full Code Here


                    }
                });
            } catch (KeeperException.NodeExistsException e) {
                // ok, someone created it since we checked
            } catch (KeeperException.NoNodeException e) {
                throw new IndexerNotFoundException(indexerName);
            }
        }

        //
        // Take the actual lock
View Full Code Here

    @Override
    public IndexerDefinition getIndexer(String name) throws IndexerNotFoundException {
        IndexerDefinition index = indexers.get(name);
        if (index == null) {
            throw new IndexerNotFoundException(name);
        }
        return index;
    }
View Full Code Here

                        return zk.getData(childPath, false, stat);
                    }
                });
            }
        } catch (KeeperException.NoNodeException e) {
            throw new IndexerNotFoundException(indexerName);
        }

        IndexerDefinitionBuilder builder = IndexerDefinitionJsonSerDeser.INSTANCE.fromJsonBytes(data);
        builder.name(indexerName);
        builder.occVersion(stat.getVersion());
View Full Code Here

TOP

Related Classes of com.ngdata.hbaseindexer.model.api.IndexerNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.