久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      notepad如何把混亂的xml格式化

      最近在進行hbase配置文件的修改之后,發(fā)現(xiàn)xml文件的格式很不美觀,然后,在網(wǎng)上找了些方法,實測,通過notepad++的xml tools插件就可達到美化效果。

      notepad如何把混亂的xml格式化

      操作過程:(推薦學習:notepad的使用)

      1.以下為原xml文件的格式效果

      <configuration><property><name>hbase.rootdir</name><value>file:///root/hbase-data/hbase</value></property><property> <name>hbase.cluster.distributed</name><value>true</value></property><property><name>hbase.zookeeper.quorum</name> <value>redhat6,standby,hadoop3</value></property><property><name>hbase.zookeeper.property.dataDir</name><value>/opt/hbase-1.3.0/tmp/zk/data</value> </property><property><name>hbase.regionserver.wal.codec</name><value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value></property><property> <name>hbase.region.server.rpc.scheduler.factory.class</name><value>org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory</value> <description>Factory to create the Phoenix RPC Scheduler that uses separate queues for index and metadata updates</description></property><property> <name>hbase.rpc.controllerfactory.class</name><value>org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory</value> <description>Factory to create the Phoenix RPC Scheduler that uses separate queues for index and metadata updates</description></property></configuration>

      備注:發(fā)現(xiàn)很不美觀。

      2.將以上內(nèi)容放入一個文檔中,點擊notepad++工具頂部上的"插件(P)"->“XML Tools”->"pretty print(XML only -with line breaks)"

      修改后效果如下:

      <configuration>     <property>         <name>hbase.rootdir</name>         <value>file:///root/hbase-data/hbase</value>     </property>     <property>         <name>hbase.cluster.distributed</name>         <value>true</value>     </property>     <property>         <name>hbase.zookeeper.quorum</name>         <value>redhat6,standby,hadoop3</value>     </property>     <property>         <name>hbase.zookeeper.property.dataDir</name>         <value>/opt/hbase-1.3.0/tmp/zk/data</value>     </property>     <property>         <name>hbase.regionserver.wal.codec</name>         <value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value>     </property>     <property>         <name>hbase.region.server.rpc.scheduler.factory.class</name>         <value>org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory</value>         <description>Factory to create the Phoenix RPC Scheduler that uses separate queues for index and metadata updates</description>     </property>     <property>         <name>hbase.rpc.controllerfactory.class</name>         <value>org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory</value>         <description>Factory to create the Phoenix RPC Scheduler that uses separate queues for index and metadata updates</description>     </property> </configuration>

      注意:如果notepad++不存在XML Tools插件,需要自行進行插件的下載和安裝。

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號